Activity › Forums › Salesforce® Discussions › How to execute Apex from the Custom button or Javascript? Salesforce® Discussions How to execute Apex from the Custom button or Javascript? Posted by Shweta on July 6, 2020 at 3:41 PM How to execute Apex from the Custom button or Javascript? Anuj replied 5 years, 10 months ago 2 Members · 1 Reply 1 Reply Anuj Member July 6, 2020 at 4:13 PM Please follow the below link: https://blog.webnersolutions.com/salesforce-call-apex-class-on-click-of-custom-button/ Log In to reply. Public All Members My Connections Only Me PublicAll MembersMy ConnectionsOnly Me Public All Members My Connections Only Me