DEX-403 practice question 28 of 35

Universal Because of the small screen, they currently have to scroll down the page to view the information for an account based on criteria about the related contact. Which solution should an app builder use to fulfill this requirement?

Full set: 291 questions
Answer options
A: Set the filter type on the component visibility to display based on user permissions. using custom permission to define the dynamic criteria.
B: Add a related record component to the page layout
C: Set the component visibility to display based or an advanced filter type, using the contact field's) to define the dynamic criteria. Correct answer
D: Hide the component behind a tab on the page layout.
Correct Answer:
C. Set the component visibility to display based or an advanced filter type, using the contact field's) to define the dynamic criteria.
Explanation

The requirement is to conditionally display information on an Account page based on criteria from a related Contact record to reduce scrolling. Lightning App Builder's component visibility feature is designed for this purpose. Specifically, the "advanced filter type" allows an app builder to define visibility rules that reference fields on related objects (dot notation). By setting up a component visibility filter on the Account page that uses an advanced filter to check fields on the related Contact, the component will only appear when the specified criteria are met, directly solving the user's issue.

Why Incorrect

A. This option controls visibility based on the user's permissions, not on data within a related record as the requirement specifies.
B. Adding a related record component displays data from a related object but does not conditionally hide or show it based on specific criteria.
D. Hiding a component behind a tab organizes the page but does not dynamically control its visibility based on record data.

References

1. Salesforce Help, "Dynamic Lightning Pages": This document states, "You can make your Lightning record pages more dynamic by configuring component visibility filters... For record pages, you can go a step further and filter on the fields of a related record." This directly supports using component visibility based on related object fields.

2. Salesforce Help, "Lightning Page Component Visibility Filter Considerations": This guide details the use of advanced filters: "Advanced filters let you use dot-notation to fields on related objects. For example, on a contact record page, you can reference fields on the account record associated with the contact. The filter looks like this: Record > Account > Account Field." This confirms the mechanism described in the correct answer.

3. Trailhead, "Lightning App Builder" Module, "Make a Lightning Page Dynamic" Unit: This unit explains how to set component visibility filters. It describes using the "Advanced" filter option to "access fields on related objects and other objects." This aligns with the solution of using an advanced filter for related contact criteria.

Scroll to Top