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
UrvikUrvik 

Drive visualforce page by record type

I have 3 record types and 2 visualforce pages. I want to override "New" button and display visualforce pages based on the record type selected. But there is a record type for which I want to display standard record creation page and not a visualforce page. How do I do that?
Jasveer SinghJasveer Singh
Hi Urvik,

First of all if you see visualforce page in Tab Use Standard controller
Then go to Build >Create>Tab>Visualforce Tabs>New >Select the page
Then follow the instructions.

Then Go to Object and select the Page Layouts Edit and then assign the visualforce page from left side panel

Thanks & Regards
Jasveer Singh
UrvikUrvik
I dont want to create a tab for visualforce page. I want to display vfp based on the record type selected.