Activity Forums Salesforce® Discussions How to execute Apex from Custom button or Javascript in salesforce ?

  • Piyush

    Member
    August 23, 2019 at 3:59 am

    HI Prachi,

    We can call any apex method through JavaScript by following function:
    sforce.apex.execute(“class_Name”,”Method_Name”,{Parameter_Name:Parameter_Value});

     

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos