I am consuming a web service that gets me leads from another plateform. All this is done in a method in the apex class.
In Salesforce Classic, I am able to create a custom button where I can call that method via javascript.
What is the solution to add the button that executes the server side method in Lightning?
Preferably, the button is wished at the poisiton highlitedposition highlighted below :
Thanks for any help