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

override new button and drive visualforce page by record type

I would like to override New button with visualforce pages on opportunity and drive visualforce display based on the record type selected. I have three record types A,B,C. I have two visualforce pages pertaining to record type A and B. So if A is selected I want to take user to visuaforce page pertaining to that record type and vice versa. If a user selects C record type the I want to take them to standard record creation page. How do I do that?
NagendraNagendra (Salesforce Developers) 
Hi Urvik,

Please check with the below links from the forums community which might help you to accelerate with the above requirement. Kindly mark this post as solved if the information help's so that it gets removed from the unanswered queue and becomes a proper solution which results in helping others who are really in need of it.

Best Regards,