Pre-Summer Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: validbest

Exam PDII All Questions
Exam PDII All Questions

View all questions & answers for the PDII exam

Salesforce Developers PDII Question # 34 Topic 4 Discussion

PDII Exam Topic 4 Question 34 Discussion:
Question #: 34
Topic #: 4

Consider the controller code below that is called from an Aura component and

returns data wrapped in a class.

PDII Question 34

The developer verified that the queries return a single record each and there is error handling in the Aura component, but the component is not getting anything back when calling the controller getSemeData.

‘What is wrong?


A.

Instances of Apex classes, such as MyDatsWrapper, cannot be returned to a Lightning component.


B.

The member's Name and option should not have getter and setter.


C.

The member's Name and option should not be declared public.


D.

The member's Kame and option of the class MyDataWrapper should be annotated with @AuraEnabled also.


Get Premium PDII Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.