1 risposta

Hi you can perform this using Quick Action1 - Object -> Custom, Button and Links Section ->New Action2- Create a custom component having a button which would call your apex code.Your Custom Component can be a Custom Visualforce of Lightning Component (in Action Type while creating a Quick Action).Please Refer the below link for more informationhttps://salesforce.stackexchange.com/questions/169021/javascript-button-on-lightning-experience