How to make field read only on workspace form

Obito
Tera Expert

Hi All,

 

In how many ways we can make field ready-only on workspace form ?

 

Thanks

2 ACCEPTED SOLUTIONS

Anurag Tripathi
Mega Patron
Mega Patron

hi,

You can create a ui policy and Make it run only on workspace like below

AnuragTripathi_0-1718008774751.png

 

Add ui policy actions as necessary.

 

 

PS, if you want to run this on Agent workspace then use the view as 'workspace', as shown in the screenshot above.

If you want to run it on any other workspace then select the view name accordingly.

-Anurag

View solution in original post

Sandeep Rajput
Tera Patron
Tera Patron

@Obito You can create a client script which runs only for your workspace view and make the field read only using g_form.setReadOnly('<field_name>', true);

Screenshot 2024-06-10 at 2.13.12 PM.png

View solution in original post

5 REPLIES 5

UI policies, always better.

-Anurag