Activity Forums Salesforce® Discussions Lightning in salesforce

  • shradha jain

    Member
    July 30, 2018 at 6:19 am

    Hello Madhulika,

    The @AuraEnabled annotation enables client- and server-side access to an Apex controller method. Providing this annotation makes your methods available to your Lightning components. Only methods with this annotation are exposed.

  • shariq

    Member
    September 18, 2018 at 12:06 am

    Hi,

    I think you need not write aura enabled on constructor because as the app loads, constructor will run. correct me if I am wrong.

    Hope this helps.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos

Salesforce Interview Questions and Answers - For Freshers and Experienced Candidates

Video in

Learn most important Salesforce Interview Questions and Answers, asked at every interview. These Interview questions will be useful to all entry-level candidates, beginners, interns, and…