Activity Forums Salesforce® Discussions Compare And Contrast Custom Controllers And Controller Extensions in Salesforce?

  • Compare And Contrast Custom Controllers And Controller Extensions in Salesforce?

    Posted by MOHIT on July 6, 2020 at 4:39 pm

    Compare And Contrast Custom Controllers And Controller Extensions in Salesforce?

    Anjali replied 3 years, 10 months ago 2 Members · 1 Reply
  • 1 Reply
  • Anjali

    Member
    July 7, 2020 at 11:40 am

    A controller extension is any Apex class containing a constructor that takes a single argument of type ApexPages. It provides additional functionality to a controller – either a standard controller or a custom controller. Use controller extensions when: You want to leverage the built-in functionality of a standard controller but override one or more actions, such as edit, view, save, or delete.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos