Activity Forums Salesforce® Discussions What is use of @AuraEnabled annotation in Salesforce?

  • What is use of @AuraEnabled annotation in Salesforce?

    Posted by Aditya on March 5, 2020 at 3:26 PM

    What is use of @AuraEnabled annotation in Salesforce?

    Shweta replied 6 years ago 2 Members · 1 Reply
  • 1 Reply
  • Shweta

    Member
    March 6, 2020 at 12:59 PM

    @AuraEnabled:

    • This annotation enables lightning components to access Apex methods and properties.
    • It is overloaded and is used for two separate and distinct purposes.
    • It is used on Apex class static methods to make them accessible as remote controller actions in your Lightning components.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos