PLAT-ADMN-202 practice question 23 of 35

Universal Containers has a single Contact Lightning record page. A component takes up a lot of room on the page and is NOT needed by users with a Marketing profile. What should the app builder use to solve this Issue?

Full set: 311 questions

Domain Sales and Marketing Applications

Answer options
A: Detail page layouts
B: Component visibility filter Correct answer
C: Field-level security
D: AppExchange
Correct Answer:
B. Component visibility filter
Explanation

Component visibility filters on Lightning record pages allow for dynamic rendering of components based on specific criteria. An app builder can configure a filter on a component to display it only when certain conditions are met. In this scenario, the filter can be set based on the current user's profile, making the component invisible to anyone with the Marketing profile while remaining visible to all other users on the same single record page.

Why Incorrect

A. Detail page layouts: Page layouts control the fields, buttons, and related lists within the record's detail section, but they do not control the visibility of individual Lightning components on the overall page.
C. Field-level security: This controls a user's access to specific data fields (view/edit), not the visibility of an entire component that might contain those fields.
D. AppExchange: The AppExchange is a marketplace for third-party applications and components; it is not a configuration tool used to control component visibility on a record page.

References

1. Salesforce Help Documentation: Dynamic Lightning Pages. This document explicitly states, "You can make your Lightning record pages more dynamic by configuring component visibility filters... For example, you can create a rule for a component to appear only when a person with a specific profile...views the page."

2. Salesforce Help Documentation: Lightning App Builder. Under the section "Create and Configure Lightning Experience Record Pages," the documentation details the use of the "Set Component Visibility" section in the properties pane to add filters based on Record Field, Device, and Advanced (which includes User fields like Profile).

3. Salesforce Trailhead: Lightning App Builder Module, Customize a Lightning Record Page Unit. This module provides hands-on steps for adding component visibility filters, demonstrating how to "Add a filter that causes the component to display only when a record meets the criteria you specify... You can also filter by user, permission, or device."

Scroll to Top