Global Fields in Contentstack: Reusable Field Groups Done Right

Define once, reuse everywhere

Many content types need the same set of fields: SEO metadata, call-to-action buttons, social sharing, address details. Global fields let you define these once and reuse them everywhere.

Good Candidates

  • SEO — meta title, description, OG image, no-index
  • CTA — label, link, style
  • Address — street, city, state, PIN code
  • Author byline — name, role, photo
  • Social sharing — title, description, image

Benefits

  • Consistent structure across content types
  • One change updates every content type using it
  • Simpler frontend components — one <Seo /> component works everywhere

Global Fields vs. References

Global field Reference
Data stored inside each entry Separate entry linked
Each entry has its own values Shared values across entries
Use for structure Use for shared content

SEO is a global field (each page has its own values). An author is a reference (shared across posts).

Change Management

Changing a global field affects every content type using it:

  • Add fields freely
  • Be careful renaming or deleting
  • Test changes on a branch first

Global fields are the design system of your content model — small, consistent, reusable pieces.

Arivanandhan Chitheshwaran