+ Start a Discussion
Parteek Goyal 3Parteek Goyal 3 

how to call apex controller method using visualforce javascript in salesforce lightning

Hi All,

I want to know that how can we call apex controller method using visualforce javascript in lightning.
Is "sforce.apex.execute" method support in lightning, if not then what else we can do?

Thanks,
Parteek
Rahul KumarRahul Kumar (Salesforce Developers) 
Hi Prateek,

To call an Apex Controller from Lightning JavaScript.Please refer the below link. Hope it will be helpful.

Best Regards
Rahul Kumar