function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
OpsterOpster 

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!

GV1GV1

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