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
Radhika pawar 5Radhika pawar 5 

How to assign different record type or different page layout to the user based on condition..??

Dear All,

Is it possible to assaign different page layout or record type for the user based on the condition.

Ex: If the checkbox field value in the custom object is true, then user xxxx page layout  or record type should be x . And if the checkbox value is false user xxxx page layout or record type should be y.

If yes, kindly let me know how we can do this?? 

Thank you.
Nilesh Jagtap (NJ)Nilesh Jagtap (NJ)
Hi Radhika,

You can assign page layout to record types from page layout assignment button available on page layouts section of object.
Depending on record types and profiles you can have multiple page layouts assigned to single profile.

You can update record type dpending on conditions when record gets updated. That is on update trigger on any object or workflow field update.
These are the only ways using which you can control record type assignement to profiles.
You can not control page layout assignement depending on User.

Thanks,
N.j
Ayesha Nadhia 11Ayesha Nadhia 11
Hi @Nilesh , Thanks for your response. This really helped me. Now we got dynamic forms but still it is not enabled for Quote Objects.