List of questions
Related questions
Question 302 - Certified Platform Developer II discussion
A developer is experiencing issues with a Lightning web component. The component must surface information about Opportunity owned by the currently logged-in user.
When the component is rendered, the following message is displayed: "Error retrieving data" Which modification should be implemented to the Apex class to overcome the issue?
A.
Edit the code to use the without sharing keyword in the Apex class.
B.
Use the Cacheable=True attribute in the Apex method.
C.
Ensure the OWD for the Opportunity object is public.
D.
Use the Continuation=true attribute in the Apex method.
Your answer:
0 comments
Sorted by
Leave a comment first