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

  • 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