You need to sign in to do that
Don't have an account?

Attaching a Visualforce Page to a Button
I created a Flow with a script to collect data for new Cases that come into our Volunteer Hotline at a nonprofit. The script works fine. The next step is to create a new button or override the current default New case button in the Case object to launch the Flow. I created the Visualforce page for this and it does what it should in preview mode, so great, good there. Now I want either to override the current NewCase button or create a new button using the Visualforce page (prefer to override as being the best approach since it will change the default button on all pages in Case or Contact records that need to go to the Flow script), but when I go to create the button or override the current button, when I click the Visualforce radio button and the dropdown next to it to select the Visualforce page --None-- is all that comes up, no listing for the Visualforce page. I can't seem to get past this so it connects the Visualflow page . Can anybody tell me the solution? Is it a permissions based issue? I am the Admin, and do have Development Mode checked on my User Details.
You will just need to add the standardController="Case" portion to the apex:page tag (see below). I also recommend adding the tabStyle portion since you are overriding the Case standard button. Hope this helps
David
All Answers
Please ensure that the VF page's standard controller is Case in order to make the page available in the corresponsing Object's Page.
Let me know if this helps.
As a common practice, if your question is answered, please choose 1 best answer.
Additionally you can give every answer a like if that answer is helpful to you.
Regards,
Anto Nirmal
You will just need to add the standardController="Case" portion to the apex:page tag (see below). I also recommend adding the tabStyle portion since you are overriding the Case standard button. Hope this helps
David