Set up page component conditions

You can control the visibility of a component on a details page by specifying one or more conditions. For example, you can configure a Tabs component to only appear when the asset has a specific media type.

To set up page component conditions:

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

  2. On the Manage page, click Pages.

  3. On the Pages page, in the left pane, select a details page (such as the Content detail page).

  4. On the details page, on the Layout tab, next to the component you want to add conditions to, click ActionsActions icon > Manage icon Settings.

  5. In the Settings dialog, on the Conditions tab, next to Only show component when, select one of the following conditions:

    • User group condition - use to hide components from specific user groups. Next to User is member of, click a comparison operator (All of, Any of, or None of), and then select one or more user groups.

    • Member condition - use to hide components when a page doesn't have a specific member. Click an entity definition in the Member drop-down list, click a comparison operator, and then complete the condition as needed.

    • Renditions condition - use to hide components when a page doesn't have specific renditions. Next to Renditions match, click a comparison operator (All of, Any of, or None of ), and then select one or more renditions.

      Note

      To make component conditions on a page work with relations, you must add those relations to the aggregate associated with the page.

  6. To add another condition, click Plus icon Condition and repeat the process.

    By default, each condition you add is connected to the previous one with an AND operator, meaning both conditions must be satisfied for the component to be visible. You can change the AND operator to an OR operator by clicking it.

  7. Click Save.

Do you have some feedback for us?

If you have suggestions for improving this article,