- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2024 01:30 AM
Hi All,
In how many ways we can make field ready-only on workspace form ?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2024 01:39 AM - edited 06-10-2024 01:41 AM
hi,
You can create a ui policy and Make it run only on workspace like below
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2024 01:44 AM
@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);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2024 01:39 AM - edited 06-10-2024 01:41 AM
hi,
You can create a ui policy and Make it run only on workspace like below
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2024 01:44 AM
@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);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2025 09:55 PM
Status field to be readonly for everyone except that have the sn_hr_core.admin role in Agent Workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2025 03:51 AM
To make field read only whether to use client scripts or ui policies . which one is best ?