+ Start a Discussion

Override User Assigned Page Layout for Lead in VisualForce page Detail block

I am using an <apex:detail... > tag to display a Lead within my custom VisualForce page.   When the page loads it uses the Lead Page Layout assigned to the running user profile.


Is there a way for me to override the page layout that is loaded so i can display a different page layout without needing to change the page layout assigned to the profile?


thanks in advance!


Did you get any solution for your problem..
I will be very thankfull if you can hekp me on this