+ Start a Discussion
Ramu SfdcRamu Sfdc 

Throug vf button Call the Api class

Hi all,

In my vf page I have 4 buttons and I need to add one extra button that is called RUN API and  I have a Api class"Get _invoice_details".

when ever we click the RUN API button in vf  it should call the "Get_invoice _details" run the logics indide the class .

I have created the button and could you please any one help me to solve the solution.

Thank you in advance 

PriyaPriya (Salesforce Developers) 
The developer community recommends providing any attempts/code you've started, any errors you're getting, or where exactly you're struggling in achieving this while posting a question.