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
Nithin_007Nithin_007 

is it possible to drive a page layout from a Custom Button ?

I know Page layout is driven by Record type or Object 

 

i have a requirement, where i have 2 different page layout associated to same record type 

one page layout is driven by record type and another one i want to drive it with a custom button 

 

Is it possible to drive different page layouts from Custom Button ??

 

Any help is much appreciated

Nithin

wt35wt35

I don't think you can do that declaratively.

 

You would need to build Visualforce pages with different layouts.

Visulaforce pages can be invoked from custom buttons, and the displayed layout can be driven by more criterias.

appuahrryappuahrry

no its not possible from custom button i think.....

sandeep@Salesforcesandeep@Salesforce

How you want to drive it though button. Please explain so I can suggest if it doable