Define an audience for your variant
An audience represents a group of users in your organization. You can define who can access this page variant by adding one or more predefined audiences.
Before you begin
Role required: ui_builder_admin
About this task
In the previous procedure, you created a page variant that can be viewed by anyone accessing a record from the Task table. For this procedure, you will duplicate the variant and configure it so that it is accessible only to audiences with the Admin role.
Procedure
Open the main page for your demo experience.
Select the experience you created, expand a page and select Default.
Demo experience Editor page.
- Select the Open menu icon.
Open menu button.
Select Duplicate variant.
On the Tell us about your variant screen, enter Admin only in the Name field.
Select + Add next to Audiences, and select the Admin audience.
Select the Admin audience.
Select Create.
The variant is duplicated and only users with the Admin role can view this page.
What to do next
Select the Next topic link to learn how to apply conditions to the variant so that the variant is visible only when the defined conditions are met.
Parent Topic:Learn UI Builder by example
Related topics
Create a demo experience to explore UI Builder
Create a record page using a template