AnsweredAssumed Answered

How can i call a method (From sugar server) on the  click of custom added button?

Question asked by Parag Mittal on Aug 30, 2016
Latest reply on Sep 8, 2016 by Parag Mittal

Hi Team,

 

I have added a custom button on custom entity next to SAVE and CANCEL.

On the click of custom button i want to pick some value from the FORM and want to send it to one of the custom exposed method. this call should go through the sugar server so that we do not face CORS issue.

 

Similar thing I have done on the click of SAVE button and our business logic is inside  logic hooks.

 

Now i want to call the same custom method from the custom button how can i achieve it.

 

What is right way to achieve it.

 

Thanks in advance.

 

Regards,

Deepak

Outcomes