An organization configures a Lightning record page for a custom object using Dynamic Forms. To satisfy internal data privacy requirements, the administrator sets a component visibility rule on the Sensitive Details field section so that it only displays on the UI when the viewing user has the HR Specialist profile. A sales representative whose profile grants Read access to all fields on the custom object generates and exports a standard report containing these records. What will occur regarding the Sensitive Details field when the sales representative views the exported report?
- The Sensitive Details field data remains visible in the report because Dynamic Forms component visibility filters affect UI rendering on the record page only and do not restrict data access in reports or APIs.Cevap
- BThe Sensitive Details field column displays blank values in the report because Dynamic Forms component visibility rules override Field-Level Security across all Salesforce user interfaces.
- CThe report export fails with an insufficient privileges error because hiding a field section in Dynamic Forms revokes object-level read permissions for non-qualifying profiles.
- DThe administrator must create and assign a new restrictive profile to the sales representative to hide the field in reports, as additive permission sets cannot override Dynamic Forms visibility rules.
Cevap
The Sensitive Details field data remains visible in the report because Dynamic Forms component visibility filters affect UI rendering on the record page only and do not restrict data access in reports or APIs.
Dynamic Forms component visibility rules are presentation-layer filters configured in Lightning App Builder. They dictate whether fields or field sections are displayed to a user when viewing a Lightning record page. However, they do not enforce database security. Because the user's Profile grants Field-Level Security (FLS) Read access to the field, standard reports and API exports will continue to show the field data regardless of page layout visibility filters.
Adım Adım Çözüm
Anahtar Kavram
Decoupling of Dynamic Forms UI Component Visibility from Database Field-Level Security (FLS)