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
MeerMeer 

Visualforce page in a PageBlock Section?

HI..

 

How can I add a Visualforce Page in a PageBlock section for a custom control?

 

Regards,

 

Meer

Navatar_DbSupNavatar_DbSup

Hi,


Click on ->Setup->App Setup->Create -> Objects -> Click on Your Custom Object. Click on the Page Layout edit button. Here you have the option to add Visual force pages just drag and drop your vf page from here.
Note: Make sure you have used standard controller inside the VF page.

 

Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved. 

Meer SalmanMeer Salman

Can I add the fields of another object in this Visualforce Page?

SeAlVaSeAlVa

Sure, as long as your VF uses the standardController of the object where you show it, you can access whatever information you want from the extension.

 

Regards.

MeerMeer

Actually I want to add new Line so I am looking to provide the Fields to the user where he can enter the data and can create new lne.. Can u please give me an example for it..

 

Regards,

Meer