Universal Containers utilizes Dynamic Forms on a custom Opportunity Lightning Record Page. An administrator configures a component visibility rule on the Sensitive_Margin__c field component to render only when StageName is set to 'Closed Won'. A sales user whose profile has Field-Level Security (FLS) Read access unchecked for Sensitive_Margin__c opens an Opportunity record that is in 'Closed Won' stage. The custom record page is activated as the App Default for the 'Sales Central' app. Which outcome will the sales user experience upon opening this record in the 'Sales Central' app?
- The user will not see the Sensitive_Margin__c field because Field-Level Security (FLS) restrictions supersede Lightning App Builder component visibility filters.Cevap
- BThe user will see the Sensitive_Margin__c field because Dynamic Forms component visibility rules override object-level and profile-level Field-Level Security.
- CThe user will see a page rendering error because App Default activations require all custom fields with visibility filters to have picklist assignments configured per record type.
- DThe user will be granted read access to the field because activating a page as an App Default creates an implicit permission set for all assigned app users.
Cevap
The user will not see the field because Field-Level Security restrictions supersede Lightning App Builder component visibility filters.
Field-Level Security (FLS) is enforced strictly at the database layer. Even if a field component's visibility conditions on a Dynamic Forms page are fully met, Salesforce will withhold the field from any user who lacks Read FLS permissions for that field.
Adım Adım Çözüm
Anahtar Kavram
Field-Level Security vs Dynamic Forms Component Visibility