You need to sign in to do that
Don't have an account?
Sandra Wicket
Override Standard Edit Page for specific RecordType
Hey Guys,
i have created a visualforce page which overrides the standard edit page. The Controller defines which record type is linked to another visualforce page. That works fine, but for some record types i want use the standard edit page. Here is the controller :
i have created a visualforce page which overrides the standard edit page. The Controller defines which record type is linked to another visualforce page. That works fine, but for some record types i want use the standard edit page. Here is the controller :
public PageReference redirect(){ IF(ev.Recordtype.Name.equals('A')){ rPage = Page.A; } else if(ev.Recordtype.Name.equals('B') ) { rPage = Page.B; }else if(ev.Recordtype.Name.equals('C')){ rPage = Page.C; } else if(ev.Recordtype.Name.equals('D')){ rPage = Page.D; } else if(ev.Recordtype.Name.equals('E')){ rPage = Page.E; } else { rPage = Page.Event_StandardEditPage; // Here i want the standard edit page } return rPage;Greetings Sandra
like below
/0014600001R7Et8/e?retURL=%2F0014600001R7Et8
http://www.salesforceben.com/salesforce-url-hacking-tutorial/
All Answers
like below
/0014600001R7Et8/e?retURL=%2F0014600001R7Et8
http://www.salesforceben.com/salesforce-url-hacking-tutorial/
Thanks Raj,
i thought URL Hacks are not best practise, but i wil give it a try.
Greetings Marry