ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 336 - Certified Platform Developer II discussion

Report
Export

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 3 answers

A.
Add the static keyword to the Apex method.
Answers
A.
Add the static keyword to the Apex method.
B.
Set the controller in the component markup.
Answers
B.
Set the controller in the component markup.
C.
Add the RemoteAction annotation to the Apex method.
Answers
C.
Add the RemoteAction annotation to the Apex method.
D.
Add the AuraEnabled annotation to the Apex method.
Answers
D.
Add the AuraEnabled annotation to the Apex method.
E.
Get the controller action with cmp.get("oppController.getTopOpps").
Answers
E.
Get the controller action with cmp.get("oppController.getTopOpps").
Suggested answer: A, B, D
asked 23/09/2024
Nqobile Nxumalo
42 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first