ADM-201 · Question #302
Universal Containers has a Contact Lightning record page with a component that shows Unkedln data. The sales team would like to only show this component to sales users when they are on their mobile ph
The correct answer is B. Filter the component visibility with Form Factor = Phone. D. Filter the component visibility with User > Profile > Name = Sales User.. An administrator needs to configure a Lightning record page component showing LinkedIn data to be visible only to sales users when they access Salesforce on their mobile phones.
Question
Universal Containers has a Contact Lightning record page with a component that shows Unkedln data. The sales team would like to only show this component to sales users when they are on their mobile phones. Which two solutions should the administrator use to fulfill this requirement? Choose 2 answers
Options
- AFilter the component visibility with View = Mobile/Tablet.
- BFilter the component visibility with Form Factor = Phone.
- CFilter the component visibility with User > Role > Name = Sales User.
- DFilter the component visibility with User > Profile > Name = Sales User.
How the community answered
(31 responses)- A10% (3)
- B77% (24)
- C13% (4)
Why each option
An administrator needs to configure a Lightning record page component showing LinkedIn data to be visible only to sales users when they access Salesforce on their mobile phones.
'View = Mobile/Tablet' is not a standard or correct component visibility filter option for specifying device form factor; the appropriate filter is 'Form Factor = Phone' or 'Form Factor = Tablet'.
Filtering the component visibility with 'Form Factor = Phone' ensures that the component is only displayed when users access the Lightning page on a mobile device, fulfilling the 'on their mobile phones' requirement.
While user attributes can be used for filtering, relying on 'User > Role > Name' is generally less precise for defining a functional user group like 'Sales User' compared to using 'Profile Name', which directly governs object and field access.
Filtering the component visibility with 'User > Profile > Name = Sales User' ensures that only users assigned to the 'Sales User' profile will see the component, meeting the 'only show this component to sales users' requirement.
Concept tested: Lightning Page Component Visibility Rules
Source: https://help.salesforce.com/s/articleView?id=sf.lightning_app_builder_component_visibility.htm&type=5
Topics
Community Discussion
No community discussion yet for this question.