+ Start a Discussion
Joseph FerraroJoseph Ferraro 

can't select visualforce page as custom button content in sandbox

I'm attempting to set a visualforce page as the content of a custom opportunity detail button in a sandbox, but when i select content source as "visualforce page", the picklist that's supposed to contain the list of visualforce pages is empty.

any ideas?

thx
dchasmandchasman
Only VF pages that use the standard controller for Opportunity will be listed in the situation you describe.
hisrinuhisrinu
What about for the List Buttons, I am not able to get the VF even if I use the Standard Controller?
jwetzlerjwetzler
Then you need to use a standard list controller.  Please read the documentation for this.  There is even a section about using list controllers with list buttons.
hisrinuhisrinu
Thanks Jill, Its working fine.