How to call Server Action from Lightning Component in Salesforce ?

This entry is part 3 of 4 in the series Lightning Training

You can call Apex Methods from Lightning components. To call any of your apex methods in Lightning component it should be annotate with @AuraEnabled and Method should public static returnType methodName(). 

Working sample code




Do you find this post helpful ?

View Results

Loading ... Loading ...


please Click Here to share your Idea with us

Series Navigation<< Server Call Component-Part 2Best way to load component faster >>
Posted in Base Components, Contributors, Lighting Components and tagged .

I am very passionate in exploring new meanwhile I feel happy with sharing whatever i experienced in my way of life.

I feel myself I am great learner and open handed to help people where ever possible

Leave a Reply


This site uses Akismet to reduce spam. Learn how your comment data is processed.

Notify of