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

View default page layout for overridden layout
I have an object with an overridden tab that goes to a visualforce page, instead of the standard layout. Is there a way for me to view the default page layout without changing the view for everyone? Meaning, let everyone see the visualforce page that's there now, but let me go to some URL that shows me the default page layout? Not like a permanent change for me myself, but in the off chance I want to see it. For example, sometimes I want to see some related lists that aren't on the visualforce page for debugging or whatnot.
You have an Object let say Department__c and the New Button for that is overidden to a VF page let say Showdepartments.page , and here you want that page to behave user specific, so if you are the User you should be shown another VF page or may be standard layout.
Here is sample code that you can use in your first VF page to get behavioural redirection according to the Current User.
Showdepartments.page : VF page
Showdepartments.class : Controller class
Hope this will help you in some or the other way. :)