Enable a custom field in the SitecoreAI Page builder

Enabling a custom field in the SitecoreAI Page builder involves adding the field to a data template in the Content Editor.

Note

Depending the type of the Marketplace app, data templates in the Content Editor are typically handled by different roles:

  • Custom apps - the app developer.

  • Public apps - the organization's information architect.

To enable a custom field:

  1. In the SitecoreAI Page builder, depending on what you're extending:

    • If extending a content item - click the parent element of the content item, then, in the right-hand panel, click Content. In the Content item section, click More actions > Open in Content Editor.

    • If extending a page - in the left-hand panel, locate the page on the Pages tab, then click More actions > Page content > Open in Content Editor.

  2. In the Content Editor, in Quick Info, click the Template path.

  3. In the Template Manager modal, in the Builder section, in Add a new field, enter the name of your custom field, such as Icon library.

  4. In the Types column, select Marketplace Types > Plugin.

  5. In the Source column, enter the Marketplace app ID of your custom or public app, then click Save.

  6. Reload the SitecoreAI Page builder. The custom field now appears depending on what you're extending:

    • If extending a content item - the custom field appears in the right-hand panel, on the Content tab, at the bottom of the panel.

    • If extending a page - the custom field appears at the bottom of the Page content panel.

After enabling a custom field, you use the Marketplace SDK to get and set custom field values.

Do you have some feedback for us?

If you have suggestions for improving this article,