Contents
What is standard controller in Visualforce page?
A Visualforce controller is a set of instructions that specify what happens when a user interacts with the components specified in associated Visualforce markup, such as when a user clicks a button or link.
What are standard controllers?
A StandardController object that is automatically provided for standard and all custom objects, bindable to a Visualforce page component with the “standardController” attribute. It provides a reference to a single/list of record to a set of common actions for data processing and default navigation.
Can a custom Visualforce page specify a controller?
Visualforce pages used as custom links on the home page cannot specify a controller. Visualforce pages used as custom buttons or links on detail pages must specify a standard controller of the same object. Visualforce pages used as custom list buttons must use a standard list controller of the same object.
Why is my Visualforce page not showing up?
If you look through the documentation you will see that: Visualforce pages used as custom links on the home page cannot specify a controller. Visualforce pages used as custom buttons or links on detail pages must specify a standard controller of the same object.
Visualforce pages used as custom buttons or links on detail pages must specify a standard controller of the same object. Visualforce pages used as custom list buttons must use a standard list controller of the same object. These rules can be bent or broken though. Doesn’t make them very good rules then eh?
How to embed a Visualforce page in standard record detail page?
You’ll notice your page appears here (because it uses the Accounts standard controller). Select accountDisplay, and drag it to the Account Information panel. Click Save. To see this in action, select the Accounts tab and then choose an account. You’ll notice the standard display of data, with your Visualforce page embedded within it!