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
JaydipJaydip 

Overriding New Button with a VisualForce page

Hi,

 

I am trying to override a standard object's New button with a Visual Force page.After I did that,

when I click New button, at first, Record Type selection page comes, then my newly built Visual Force page appears.

 

My question, is there any way, we could show visual force page before selecting record type? I could then redirect

to display record type selection page.

 

Thanks for your help.

 

regards

Jaydip

anjaliguptaanjaligupta
Hi,
For this issue, you can remove one record type at profile level.
And it will then show your Visualforce page.
And in this case you cannot use standard record type selection page,
you have to make one custom record type selection page where you can redirect this Visualforce page (VF page overriding new button).