You need to sign in to do that
Don't have an account?
Anton Zhuravlev
Cannot see my Visualforce page in the Content on the Custom Button
Hi,
I need to create a Custom Button with a Content Source as Visualforce Page. I have created a Visualforce page for this.
The problem is that when I choose Visualforce Page in the Content Source of the Custom Button setup, the Content list remains empty. It doesn't show my Visualforce page there, despite it is already created and ready for use.
How can I put my Visualforce page in the Content of the Custom Button?
I need to create a Custom Button with a Content Source as Visualforce Page. I have created a Visualforce page for this.
The problem is that when I choose Visualforce Page in the Content Source of the Custom Button setup, the Content list remains empty. It doesn't show my Visualforce page there, despite it is already created and ready for use.
How can I put my Visualforce page in the Content of the Custom Button?
You need to use standardcontroller to show VF page in content picklist.
Use standardcontroller="lead" in Apex:page, it will be available in lead custom buttons.
Hope this helps!
All Answers
You need to use standardcontroller to show VF page in content picklist.
Use standardcontroller="lead" in Apex:page, it will be available in lead custom buttons.
Hope this helps!
That works.