Salesforce Certified Platform Developer II (Plat-Dev-301) Exam - Topic 6 Question 34 Discussion
A developer migrated functionality from JavaScript demoting to a Lightning web component and wants to use the existing getOpportunities() method to provide data.Which modification to the method is necessary?
A) A The method must be decorated with AuraEnabled.
B) The method must return a JSON Object.
C) The method must be decorated with (cacheable=true).
D) The method must return a String of a serialized JSON Array.
Freeman
7 months agoElke
7 months agoCharolette
7 months agoKenia
8 months agoPedro
8 months agoCarman
8 months agoBeckie
8 months agoGwenn
8 months agoMariko
8 months agoMaryann
8 months agoMaricela
8 months agoCarma
8 months ago