cs-icon.svg

Use Custom Field in Content Types

Note: Experience Extensions use the legacy approach with extensions. We recommend using the Custom Field UI location for the Contentstack App Framework to extend the functionality of your apps.

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.
  2. Click on the + New Content Type button.
  3. Enter the details as shown in the below image and click Save and Proceed.
    Use_Custom_Field_in_Content_Types_1_no_highlight.png
  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.
    Select_Ace_Editor_from_the_dropdown.pngYou 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.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?
^