Activity Forums Salesforce® Discussions What is the difference between a custom controller and controller extensions?

  • What is the difference between a custom controller and controller extensions?

    Posted by Shweta on November 20, 2020 at 2:40 pm

    What is the difference between a custom controller and controller extensions in the VF page?

    Deepak replied 4 years, 1 month ago 2 Members · 1 Reply
  • 1 Reply
  • Deepak

    Member
    November 20, 2020 at 2:42 pm

    You can use custom controllers when you want your Visualforce page to run entirely in system mode, which does not enforce the permissions and field-level security of the current user while controller extension is an Apex class that extends the functionality of a standard or custom controller.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos