Universal Containers wants to dynamically display a component on a Lightning record page for an account based on criteria about the related contact. Which solution should an app builder use to fulfill this requirement?
A.
Add a related record component to the page layout.
B.
Hide the component behind a tab on the page layout.
C.
Set the filter type on the component visibility to display based on user permissions, using custom Permission to define the dynamic criteria
D.
Set the component visibility to display based on an advanced filter type, using the contact field(s) to Define the dynamic criteria
The correct solution is component visibility with advanced filters. Lightning App Builder allows components on Lightning pages to be shown or hidden dynamically based on filter criteria. Salesforce Admin guidance also explains that App Builder filters can customize which components display on record pages and can use field values from related records, running user, and permissions.
Because the component must display dynamically based on criteria about the related Contact, the app builder should use an advanced visibility filter using the Contact field criteria.
Why not others:
A. Related Record component displays related record data but does not solve dynamic visibility by itself.
B. Hiding behind a tab does not dynamically control visibility.
C. Custom permission controls visibility by user permission, not by related Contact field criteria.
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit