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
birdofpreybirdofprey 

involking sforce.apex.execute from API

I have a button in SF that execute a javascript that then execute a apex code like this.

 

sforce.apex.execute("SFA.Operations", "AuthorizeOpportunity_Click", {OpportunityId: "{!Opportunity.Id}" });

 

I want to know if there is a way to also to execute that apex and pass those parameter through the API?