Use Custom Field in Content Types

Once you have added a custom field to your stack, you can use it in your content type like any other field. 

To add a custom field in a content type, log in to your Contentstack account, and perform the following steps:

  1. Go to your stack and and click on the “Content Models” icon on the left navigation panel.Use_Custom_Field_in_Content_Types_1_no_highlight.png
  2. Click on the + New Content Type button.
  3. Enter the details as shown in the below image and click Save. 
  4. In the Content Type Builder page, add the Custom field in your content type by clicking on the “Insert a field” link represented by a + sign.
  5. Under Select Extension, select the custom field that you created. You can add other fields as per requirements. 
  6. Optionally, you can provide specific configuration settings for your custom extension field within the Config Parameters field in the Advanced properties. This setting will be applicable to only this particular instance of the Custom Field.Use_Custom_Field_in_Content_Types_2.2_no_highlight.pngUse_Custom_Field_in_Content_Types_2.1_no_highlight.png
  7. After adding the fields, click on either Save or Save and Close to save your changes.

Now, when you create an entry for that content type, you will see your custom field in action.

Use_Custom_Field_in_Content_Types_3_no_highlight.png

Was this article helpful?

Thanks for your feedbackSmile-icon

More articles in "Get started with Custom Fields"

On This Page

^