Drive business forward and build better customer experiences with composable technologyDrive business forward with composableGo Composable

Custom Field Location

The Custom Field Location of an app lets you add/ create custom fields that you can use in your content type. Apart from using the default fields such as "Single-line textbox", "Rich Text Editor", and so on, you can integrate with numerous business applications, such as "Bynder", "Cloudinary", "Shopify", by adding them as custom fields to your stack's content type.

Let's see how to add custom field location to your app:

  • Via the Developer Hub Console:
    To add the custom field location to your app via the Developer Hub console, login to your Contentstack Account and follow the steps given below:

    1. Click the Developer Hub icon on the left navigation panel.
    2. Select an application for which you want to add the custom field location.
    3. Click the UI Locations tab. 
    4. In the App URL field, enter the hosted URL of your application. 
    5. Hover over the Custom Field location, and click the + Add button. 
    6. On the resulting Configuration page, set up the configurations for custom field location by providing details such as name, path, data type, and description. You can also enable the configuration using the Enable toggle button.
    7. Finally, click the Save button to save the custom field location’s configuration details.

Note: A single app supports up to three custom field locations.

You can create new custom field locations by writing your custom code, or you can use the prebuilt boilerplate and modify the given code to suit your requirements.

Was this article helpful?