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
mustapha L 1mustapha L 1 

VisualForce, how to assign different page layouts...?

Hi there !
I have created many layouts with VisualForce.
I have created a BUTTON which fired one of Layouts.

what i'm looking for is how to make kind of auto-select Layout.

idea is to create one customField where are listed some criteria and based on those criteria when we clic on Button automatically the most approproated page will be displayed.
I already have Layout, button, criteria...i just need assistance about how to fire one or another visual page 

Many thanks for assistance you could provide.