function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
srikanth mannesrikanth manne 

Does lightning supports sforce.apex.execute method . if supports can you give an example code in lightning component?

Raj VakatiRaj Vakati

 sforce.apex.execute is only to invoke the apex class from the javascript button and you cannt able to use the lightning components ..


https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_and_ajax.htm