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
PrakkiPrakki 

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.

 

Regards,
Prakash

Saravanan @CreationSaravanan @Creation

Hi,

 

Sorry, You can't assign based on the condition.

 

solution for your problem ,For the new page if you change it to visualforce page you can do this.

 

1.Create a VF for new creation record.

2.In the save button action evaluate and assign record type based of the checkbox values.