Tuesday, February 24, 2009

How do I add VF Page to Account Page Layout??

Hi:
Welcome back...
Let say you created a Visual Force Page and Apex Controller... Now you want to add the VF page to the Page Layout on for example Account. So when an user goes into an Account; he/she will see the Visual Force Page created.
But, there is no option there on the account Page Layout to add VF pages...
Now what?
Well very easy, The solution is:
VF pages will show up in the Page Layout editor if there is at least one VF Page using the standard controller for Account (in your scenario).
The VF page you want to add to the Account page layout must use the Account standard controller.
For example in your Visual Force Page First line should have the standard Controller connected to the object:


Make sure you create the apex method in your Apex class....
Thanks
Check out my Other Salesforce.com Blogs
Salesforce Made Easy

Salesforce Data Migration Made Easy
eTechCareers.com Coming Soon


No comments:

Post a Comment