Salesforce
CRT-450 · Question #140
A developer is migrating a Visualforce page into a Lightning web component. The Visualforce page shows information about a single record. The developer decides to use Lightning Data Service to…
The correct answer is A. Lightning Data Service handles sharing rules and field-level security. See the full explanation below for the reasoning.
Question
A developer is migrating a Visualforce page into a Lightning web component. The Visualforce page shows information about a single record. The developer decides to use Lightning Data Service to access record data. Which security consideration should the developer be aware of?
Options
- ALightning Data Service handles sharing rules and field-level security.
- BLightning Data Service ignores field-level security.
- CThe with sharing keyword must be used to enforce sharing rules.
- DThe isAccessible ( ) method must be used for field-level access checks
How the community answered
(42 responses)- A79% (33)
- B7% (3)
- C2% (1)
- D12% (5)
Community Discussion
No community discussion yet for this question.