+ Start a Discussion
Ram ArzaRam Arza 

Redirecting to vf page when selecting a record type on custom object

I have created a custom object called "Revenue_Reports__c" and gave it 4 record types for 4 different profiles. The record type are named as
1. FSAL
2. ISAL
3. National Mgr
4. Regional Mgr.

When an user selects any of the above record type the user should be navigated to the new visualforce page. How can I do this. 
Any help is appreciated.

Thanks. 
SandhyaSandhya (Salesforce Developers) 
Hi Ram Arza,

You can override the edit and view actions.

Please refer below links which have example for the same.

http://help.skuid.com/m/page-assignments-and-overrides/l/102661-overriding-the-view-or-edit-actions-differently-based-on-record-type
 

http://www.topalovich.com/2009/08/force-com-tip-new-button-override-to-assign-visualforce-page-to-specific-record-type-using-native-apex-code/
 
Hope this helps you!

Please accept my solution as Best Answer if my reply was helpful. It will make it available for other as the proper solution. If you felt I went above and beyond, you can give me kudos.
 
Thanks and Regards
Sandhya