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

  • Shweta

    Member
    January 29, 2020 at 3:10 pm

    @AuraEnabled : It enables client and server side access to an apex controller method. This annotation exposes an apex method to the Aura framework for use in lightning components.

  • Ratnesh

    Member
    January 29, 2020 at 3:12 pm

    We use AuraEnabled Annotation in Salesforce so that particular method is available for the Lightning component in Salesforce.

  • Kirandeep

    Member
    January 29, 2020 at 6:25 pm

    @AuraEnabled annotation enables Lightning components to access Apex methods and properties.In other words  it  provides support for Apex methods and properties to be used with the Lightning Component framework.

  • Ayush

    Member
    January 29, 2020 at 6:48 pm

    This annotation exposes an apex method to the Aura framework for use in lightning components.

Log In to reply.

Popular Salesforce Blogs