function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
anil sharmaanil sharma 

how to add custom controller field to my standard controller visualforce

Good evening sir,

can you please tell me how can i add custom controller to my standard controller

Best Answer chosen by Admin (Salesforce Developers) 
Prady01Prady01

You can add the custom controller in the <apex:page> tag

 

<apex:page standard standardController="Account" extensions="YourCustomController">

 

 

</apex:page>

 

Hope it helps!

All Answers

SamuelDeRyckeSamuelDeRycke

It's quite well explained in the visualforce documentation

 

 

Prady01Prady01

You can add the custom controller in the <apex:page> tag

 

<apex:page standard standardController="Account" extensions="YourCustomController">

 

 

</apex:page>

 

Hope it helps!

This was selected as the best answer
anil sharmaanil sharma

tnq sir