Activity Forums Salesforce® Discussions Can we call class method from a custom button of an object ?

  • Can we call class method from a custom button of an object ?

    Posted by Anjali on August 6, 2020 at 1:35 pm

    Can we call class method from a custom button of an object without using visualforce page ?

    Pooja replied 3 years, 9 months ago 3 Members · 2 Replies
  • 2 Replies
  • Shweta

    Member
    August 6, 2020 at 3:09 pm

    Yes, we can call an Apex class from the custom button on the object detail page by creating a vf page and call the apex class method via the action attribute.

  • Pooja

    Member
    August 6, 2020 at 7:46 pm

    Yes, we can call an Apex class from the custom button on the object detail page by creating a vf page and call the apex class method via the action attribute.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos