Refer to the following code snippets:
MyOpportunities.js
OpportunityController.cIs
A developer is experiencing issues with a Lightning web component. The component must surface information about Opportunities 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 issue7
A . Ensure the OWD for the Opportunity object is Public.
B. Use the Cacheable-true attribute in the Apex method.
C. Edit the code to use the without sharing keyword in the Apex class.
D. Use the continuation-true attribute in the Apex method.
Answer: B
Latest PDII Dumps Valid Version with 280 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund