About Global Field

You can define a Global Field as a reusable field (or a group of fields) that you define once and use in any content type within your stack.

Note: When working with specific branches, global fields created or updated will be specific to that particular branch. Refer to our Branch-specific Modules document for more information.

It allows you to create a group of fields that will be common for most of the content types of your stack. Thus, it reduces the effort of manually creating the set of fields for those content types in their “Content Type Builder” page.

For example, if you create a Global field called “SEO” (with fields - “Meta Title” and “Meta Description”). Subsequently, when you use the “SEO” Global field within any content type, the subfields would appear automatically.

You can manage Global fields from one central location, which means, if you update an existing Global field, the changes will reflect in all the content types in which the Global field is used.

For example, if you add a “Meta Keywords” subfield in the SEO Global field, this additional subfield would appear in all the content types in which the “SEO” Global field has been used.

Note: A Global field, once created, can be used in one or more content types of a stack. Global fields are stack-specific, i.e., it cannot be used in or shared across multiple stacks.

To use this field, you need to first create it and then add it as a field in a content type.

Tutorial Video

Let's see how to create and use a Global field in a content type.

To understand Global Fields in more detail, make sure you go through our extensive documentation provided in our “More articles” section

Was this article helpful?