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
Nick ValerioteNick Valeriote 

VisualForce Pages option not showing up in custom object page layout

Hi SF Community,

I'm trying to add a visualforce page to a section within the page layout of a custom object; however, the visualforce pages option isn't showing up in the page layout (see screen shot).  Does anyone know how I can resolve this and have that option show up so I can add a visualforce page to my page layout?

User-added image

Thanks.

Nick

Raj VakatiRaj Vakati
It will show only if you have at least one visualforce page with standard controller with the object ..


Go and create a sample page with the below code and try to edit the pagelayout it will be able to appear 
 
<apex:page standardController="YOUR Object">
  <!-- Begin Default Content REMOVE THIS -->
  <h1>Congratulations</h1>
  This is your new Page
  <!-- End Default Content REMOVE THIS -->
</apex:page>

 
Nick ValerioteNick Valeriote

Thanks, Raj.
My current page already refers to the Check List class I created:
<apex:page Controller="CheckList"> <apex:form > <apex:pageBlock > <apex:pageBlockSection >

Are you saying I need to change my reference from the class to my custom object?  I tried that, and added 'Standard' in front of 'Controller', and it gave me an error.