+ 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