An administrator is configuring a Lightning Record Page for a custom object named Vendor_Contract__c. The business requires a specialized executive summary component on the page to be visible only to users with the 'Procurement Manager' job role. Additionally, the administrator must ensure that sensitive financial fields on the page are completely inaccessible via API and reports to users without proper data access. Which set of actions meets these requirements while following Salesforce security best practices?
- Configure component visibility rules on the Lightning Record Page using the User > Role field for the executive summary component, and enforce Field-Level Security (FLS) settings on the profile or permission set for the financial fields.Cevap
- BUse Dynamic Forms component visibility filters on individual field components to hide the sensitive financial fields from unauthorized users, eliminating the need to set Field-Level Security.
- CCreate a custom Record Type for vendor contracts and remove the sensitive financial picklist fields from the Record Type picklist assignment settings.
- DCreate separate profile-specific Lightning Record Pages and assign them via Org Default activation to restrict access to both the executive summary component and financial fields.
Cevap
Configure component visibility rules on the Lightning Record Page using the User > Role field for the executive summary component, and enforce Field-Level Security (FLS) settings on the profile or permission set for the financial fields.
The correct response properly distinguishes between UI display logic and underlying data security. Component visibility rules in Lightning App Builder allow administrators to dynamically filter which components appear based on user record attributes (such as User > Role). Meanwhile, Field-Level Security (FLS) is mandatory for securing sensitive fields against unauthorized access across all access points, including reports, SOQL queries, and API endpoints.
Adım Adım Çözüm
Anahtar Kavram
Lightning App Builder Component Visibility vs Field-Level Security (FLS)
Tahmini Süre:2m 0s