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 questionsThe 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.
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.
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.
Keep practicing
Take the free DEX-403 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other DEX-403 practice questions
- Question 1Which two solutions prevent a formula field from being referenced by a Roll-Up Summary Fi…
- Question 2Accounts at Universal Containers are currently readable by all users but editable only by…
- Question 3Universal Container wants customers to be able to open cases from a public-facing website…
- Question 4Properly installing managed packages helps prevent conflicts with customizations made by …
- Question 5Universal Containers (UC) has large data volumes and is nearing data storage limits. The …
- Question 6Cloud Kicks's management team frequently travels and wants to approve requests from their…
