To add a Global field to your content type, log in to your Contentstack account and perform the following steps:
- Click on the “Content Models” icon on the left navigation panel to display your available content types .
- Select the content type that you want to edit.
- Click the “Insert a field” + icon below the existing fields.
- Click on Global Fields from the available options.
- To modify the properties of the Global Field you added, click on the “settings” gear icon. This opens up a floating modal that has two options, Basic and Advanced.
- Click on the Select Global Field dropdown in the Basic menu and select Address. You will notice that the Employee Address field, which now looks like a Group Field, has been added to your Content Type scheme with the required sub-fields.
Note: You can add a maximum of 5 Global fields in a Content type. Check out other limitations of Global fields.
The Global field possesses certain properties that you can change anytime as per your requirements. The properties that can be modified are “Display Name,” “Unique ID,” “Instruction Value,” “Help Text,” “Multiple,” and “Non-localizable.”
Note: Any changes made to the Global field, its subfields or its properties will be reflected in all the content types where the Global field is being used.