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
nlsnydernlsnyder 

How to get pages to show up in content drop down list for custom buttons

I created a new custom apex page.  Now I am trying to create a custom button on Quote Line Item to bring up this new page.    I select List Button as Display Type and Content Source as  VisualForce Page.   But the Content drop down list where you are suppose to select the page is empty.

 

I have gone back to the custom page and clicked the Security link and have selected "Standard Platform User", "Standard User", "System Administrator" but no pages show up.  Which profiles need to be enabled to have the button bring up a page for the Quote or Quote Line Items?   Then I enabled all the profiles for the Security and still no pages show up in my content list drop down.  

 

So how can I attach a custom button to a apex page that I create if the list is always empty??

 

Starz26Starz26

In order for it to show up, the VF page must be using the standardController of the object (i.e. Quote Line Item)

DeveloperSfdc10.10DeveloperSfdc10.10

Hi nlsnyder,

 

The Visualforce pages that contains standardController="Object Name" will be display in that list.You can use extensions for your custom class.