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

Override recordtype selection standard page layout with VF Page
Hi,
So I have object A with 2 record types. Whenever I click on "New" button (from related list), it goes to the standard page layout with the recordtype option for me to choose. Then depending on which recordtype I choose, it will go to the correct page layout for that recordtype. for editing. Now I want to override that standard page for record type selection with a VisualForce page. I will have 2 buttons on that page, each for 1 record type. Whichever button I click on, it is supposed to go to the correct page layout for editing. How can I achieve this?
So I have object A with 2 record types. Whenever I click on "New" button (from related list), it goes to the standard page layout with the recordtype option for me to choose. Then depending on which recordtype I choose, it will go to the correct page layout for that recordtype. for editing. Now I want to override that standard page for record type selection with a VisualForce page. I will have 2 buttons on that page, each for 1 record type. Whichever button I click on, it is supposed to go to the correct page layout for editing. How can I achieve this?
Just mention the RecordType = 'Id of the record type' and nooverride=1 which will do that trick, check the following url for sample