Loading
Experience Cloud
Create Dynamic Component Visibility in Enhanced LWR Sites

Create Dynamic Component Visibility in Enhanced LWR Sites

Control component visibility on your enhanced LWR site pages by creating rules that contain conditions. Stack multiple conditions to create the perfect set of visibility conditions for each component.

Required Editions

Available in: Salesforce Classic and Lightning Experience
Available in: Enterprise, Performance, Unlimited, and Developer Editions
Applies to: LWR sites
User Permissions Needed
To create an Experience Cloud site: Create and Set Up Experiences AND View Setup and Configuration
To customize or publish an Experience Cloud site:
  • Create and Set Up Experiences AND View Setup and Configuration AND be a member of the site

    OR

  • View Setup and Configuration AND be a member of the site AND have appropriate role-based site access
Important
Important Visibility rules created during the Spring '23 pilot are no longer functional and must be replaced in future releases.

You can create rules for any component in Experience Builder by using the Visibility tab.

  1. From Experience Builder, select a component that appears on the canvas.
  2. Click the Visibility tab.
  3. Click +Add Visibility Rule. Create a rule with one or several conditions. Show or hide your component when the conditions are met.
  4. Save your rule. Your new rule is viewable and editable from the Visibility tab.
 
Indlæser
Salesforce Help | Article