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
JimPDXJimPDX 

Help with New Tab Override to VF Page

So I had this all working a week ago but I had to remove my VF code so I could uninstall a managed package. For some reason I can NOT choose my VisualForce page to be used to override the New button on a custom object. Again this was working one week ago before I moved my code out and back in. Can anyone give me reasons why a valid, VisualForce page (one that runs fine when attached to a custom Tab) would not be select-able in the button override function?

 

Thanks! 

Best Answer chosen by Admin (Salesforce Developers) 
jwetzlerjwetzler

View this thread

 

If it was working a week ago and doesn't work now my guess is that you changed the standardController attribute out from underneath your page sometime after you originally chose the page as an override (a situation we are going to block eventually, by the way) 

All Answers

jwetzlerjwetzler

View this thread

 

If it was working a week ago and doesn't work now my guess is that you changed the standardController attribute out from underneath your page sometime after you originally chose the page as an override (a situation we are going to block eventually, by the way) 

This was selected as the best answer
JimPDXJimPDX
Thanks Jill!