Use @AuraEnabled on Apex class static methods to make them accessible as remote controller actions in your Lightning components. Use @AuraEnabled on Apex instance methods and properties to make them serializable when an instance of the class is returned as data from a server-side action.

The AuraEnabled annotation provides support for Apex methods and properties to be used with the Lightning Component framework. The AuraEnabled annotation is overloaded, and is used for two separate and distinct purposes.

Use @AuraEnabled on Apex class static methods to make them accessible as remote controller actions in your Lightning components. Use @AuraEnabled on Apex instance methods and properties to make them serializable when an instance of the class is returned as data from a server-side action.

CONTACT US

We're not around right now. But you can send us an email and we'll get back to you, asap.

Sending

About Us

Forcetalks is a Salesforce collaboration platform for coders & developers, geeks & nerds, consultants & business heads, admins & architects, managers & marketers and of course the business owners. A community where you can learn from, where you can contribute to. For you. For Salesforce. Read More...