I need help in creating a lightning button on Accounts object. that calls the method written in a class called PIcontroller

Basically this function ( In PI controller) , calls a webservice and creates and updates record in external system.

Currently the webservice gets called, on click of a custom button on confirm address. post which opportunity is closed won and uneditable.

However, there are some CIBIL issues, due to which sometimes we need to change the name of account and that should be again updated to customer hub.

Via this update button, I want to call that function written in PIcontroller class, which further will update the external system. Can anyone help me on this

  • Can anyone help me on this – user69440 Jul 5 at 6:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.