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
chandrashekar Jangitichandrashekar Jangiti 

when we click on button should open differenet pagelayout using recordtype based on user condition...

Hi Folks...

am having one scenario like "when we click on button should open differenet pagelayout using recordtype based on user condition... " how many ways ways we can achieve this?? 

Thanks,
Chandu
Naveen KNNaveen KN
Hi Chandu,

I think irrespective of the button click, for each and every record type you can configure different page layouts. In the lightning framework setup > object manager > in your object, create different record types and also create different page layouts and associate that layout to respective record type. whenever you open particular record it will load the related page layout. It will be applicable when you open the record on the button click as well.

Hope this information helps. 

Naveen
Team codengine.in