Refer to the code below: A developer is building this Aura component to display information about top Opportunities in the org. Which three code changes must be made for the component to work? (Choose three.)

QuestionsCategory: Certified Platform Developer IIRefer to the code below: A developer is building this Aura component to display information about top Opportunities in the org. Which three code changes must be made for the component to work? (Choose three.)
Admin Staff asked 4 months ago
Refer to the code below:
 Image
A developer is building this Aura component to display information about top Opportunities in the org.
Which three code changes must be made for the component to work? (Choose three.)

A. Add the static keyword to the Apex method.

B. Add the RemoteAction annotation to the Apex method.

C. Set the controller in the component markup.

D. Get the controller action with cmp.get("OppController.getTopOpps").

E. Add the AuraEnabled annotation to the Apex method.






 

Suggested Answer: ACE

Community Answer: ACE



This question is in Certified Platform Developer II Exam
For getting Salesforce Certified Platform Developer II











Disclaimers:
The website is not related to, affiliated with, endorsed or authorized by Salesforce. 
Trademarks, certification & product names are used for reference only and belong to Salesforce.
The website does not contain actual questions and answers from Salesforce's Certification Exams.

Recommended

Welcome Back!

Login to your account below

Create New Account!

Fill the forms below to register

Retrieve your password

Please enter your username or email address to reset your password.