ONE DAY SALE

Free Salesforce Developers Tutorials >

Chapter 15 - Visualforce >

Standard Controller in Visualforce

Standard Controller in Visualforce

What You’ll Learn


S2 Labs

What Is Standard Controller In Visualforce?

A standard controller in visualforce consists of the same functionality and logic that is used for a standard Salesforce page. For example, if you use the standard Accounts controller, clicking a Save button in a Visualforce page results in the same behavior as clicking Save on a standard Account edit page.

If you use a standard controller on a page and the user doesn’t have access to the object, the page will display an insufficient privileges error message. You can avoid this by checking the user’s accessibility for an object and displaying components appropriately.

A standard list controller enables you to create Visualforce pages that can display or act on a set of records. Examples of existing Salesforce pages that work with a set of records include list pages, related lists, and mass action pages.

Example Code Of Using Standard Controller

<apex:page standardController="Account">

</apex:page>

salesforce-developer

Download Study Material

Get access to exclusive study material for Salesforce Certification and ace your exams!

Download Now

Our Salesforce Certification Courses

Hey there! Glad you made it through our Salesforce Developer Training for beginners . But wait! We've got some high-in-demand Salesforce courses for you to take your Salesforce skills to the next level, making you a desired professional in the Salesforce job market.

Post a Comment

Your email address will not be published. Required fields are marked *