Question

Difficulty: EasyDynamic Forms and Dynamic Actions

A Salesforce Administrator is customizing a record page using Dynamic Forms in Lightning App Builder. The administrator needs to configure a custom field named 'Discount Reason' so that it only appears on the record page when the 'Discount Applied' picklist field is set to 'Yes'. Which feature in Lightning App Builder should the administrator use to meet this requirement?

  1. Component visibility filters on the field component set to show when 'Discount Applied' equals 'Yes'Answer
  2. B
    Field-Level Security settings on the user profile to hide the field dynamically based on picklist criteria
  3. C
    Assigning separate profiles and page layouts for users who need to view the discount reason
  4. D
    A Validation Rule formula that suppresses the rendering of the field until criteria are met

Answer

Component visibility filters on the field component set to show when 'Discount Applied' equals 'Yes'
With Dynamic Forms, administrators can break down record details into individual field components and set component visibility rules directly on any field. Filtering the 'Discount Reason' field based on the 'Discount Applied' picklist value equal to 'Yes' satisfies the business requirement directly within Lightning App Builder.

Step-by-Step Solution

1
Open the record page in Lightning App Builder and select the 'Discount Reason' field component within the Dynamic Forms layout.
The component properties panel opens on the right sidebar.
Individual fields placed in Dynamic Forms act as standalone components with configurable properties.
2
Add a Component Visibility Filter under the Set Component Visibility section.
A filter rule configuration prompt appears.
Visibility filters determine under what conditions the component is displayed to the user.
3
Define the filter criteria as Record Field 'Discount Applied' Equal 'Yes' and save the page.
The field dynamically renders only when 'Discount Applied' equals 'Yes'.
Dynamic Forms evaluates record values in real time to conditionally show or hide fields.

Key Concept

Dynamic Forms Component Visibility Filters
Estimated Time:1m 0s
Rate this question