bagsbad.blogg.se

Salesforce lightning app builder conditional display
Salesforce lightning app builder conditional display







salesforce lightning app builder conditional display

Step 2: Select the Component to View Visibility Settings

salesforce lightning app builder conditional display

To access the Lightning page builder, navigate to the Setup cog icon in the upper right-hand corner of Salesforce, click it, and select the “Edit Page” option (see screenshot). Step 1: Edit the Page to Access the Component Objective: Toggle our Related Record Lightning component to display for Users who are assigned a System Administrator Profile. Solution: Lightning Component visibility filters! For all other Users, the component is to remain hidden and not populate on the page layout. To clarify, we need to make the Related Record Component dynamically visible only for Users who have a Profile of “System Administrator” assigned to them. In our scenario, we are going to assume that System Administrators should be the only Users who are able to view and access the Lightning component. If you did not read the previous blog, we created a Lightning Related Record component on the Contact Lightning page layout that displayed a variety of key fields from that Contact’s Account, without having to navigate to the Account directly (see screenshot). This is where utilizing Lightning Component filters can be quite useful.Ĭhallenge: For the sake of example let’s leverage the Related Record component we built in our previous blog post. However, at times you may want to permit only a subset of Users from being able to view and access Lightning Page Components rather than have them visible to all Users at all times. As you may have read in our recent blog post on Lightning Components, Salesforce Lightning page layouts have the amazing ability to support a variety of standard and custom components that can enhance the functionality of your pages and provide Users with useful capabilities.









Salesforce lightning app builder conditional display