Set up on-the-fly creation

Note

To configure Content Hub, you must either be a superuser or have the necessary permissions granted to you through user group policies.

In Sitecore Content Hub, on-the-fly entity creation lets you quickly extend taxonomies without compromising security. You can add a taxonomy item without opening a new dialog box or navigating to a different page. This also lets you extend the hierarchical tree of a taxonomy.

The following procedure demonstrates how to enable on-the-fly creation on the AssetTypeToAsset taxonomy member of the M.Asset entity, which is used in the asset details page. The procedure is similar for any other taxonomy member in any other entity definition or portal page.

To set up on-the-fly creation:

  1. Create a detail page for the Type member.

  2. Enable on-the-fly-item creation.

Create a detail page for the Type member

To create a detail page for the Type member:

  1. On the menu bar, click Manage cog icon.

  2. On the Manage page, click Pages.

  3. On the Pages page, click + Page.

  4. In the Page dialog box, fill out the fields with the following values:

    Field

    Value

    Name

    TypeTaxonomy

    Page type

    Detail page

    Definition

    Asset type (M.AssetTypes)

    Master Layout

    Basic

  5. Click Add.

  6. In the MAIN ZONE of the TypeTaxonomy page, click Add component .

  7. In the Add component dialog box, click Entity details and then click Add. This creates a new Entity details component.

  8. Click the new Entity details component.

  9. On the Details component page, turn on the Main switch.

  10. Click Save.

Enable on-the-fly-item creation

To enable on-the-fly-item creation:

  1. On the menu bar, click Manage cog icon.

  2. On the Manage page, click Pages.

  3. On the left-hand pane, click Asset details and then, on the right-hand pane, click the Details component.

    Important

    You need to enable custom settings before editing the component.

  4. In the Visible members section of the Overview tab, next to the Type member, click cog icon.

  5. On the Functionality tab of the dialog box, turn on the Create entities on the fly switch.

  6. Click the specific Creation window modal field type.

  7. In the Creation detail page field, add the TypeTaxonomy page.

  8. Click OK.

  9. On the Details component page, click Save.

You can now create asset type value on-the-fly from the asset details page.

Do you have some feedback for us?

If you have suggestions for improving this article,