You can define conditions to determine when a page variant is shown. The conditions are based on setting an order, and adding a query string that sets the criteria that must be met for the page variant to display.

This video shows how to perform the following procedure.

Before you begin

Role required: ui_builder_admin

About this task

If you have multiple page variants that all have the same conditions, the variants go by the order setting.

Procedure

  1. Open the main page for your demo experience.
  2. Select the experience you created, and select Default.
    Figure 1. Demo Experience
    Demo Experience Editor page.
  3. On the Default variant under the All users record page, select the three-dot icon (3-dot icon), and select Duplicate variant.
  4. On the Tell us about your variant screen, enter Incident record page in the Name field.
  5. Since the intent of this task is to restrict this site to users who are opening a record in the Incident table, enter table=incident in the Conditions field, and select Create.
    Figure 2. Incident record page
    Incident record page in Demo Experience Editor page.
    Note: You can view the structure of your pages and variants in this experience. The Conditions column shows View for the Incident record page. You can select View to see the condition for that variant (that is, table=incident). The Audiences column for the Admin only variant shows a 1. You can select the 1 to view the role required to view that variant.