How to make the List View's preview icon popup details of an Incident fields Read only
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2025 09:03 AM
Hi team,
How to make the List View's preview icon popup details of an Incident fields read only for ITIL role/Service desk agents
Thanks
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2025 09:10 AM
Since the preview panel in List View uses the form layout, we need to make fields read-only based on user roles.
create an Onload client script on the incident table :
if (g_user.hasRole('itil')) {
g_form.setReadOnly('short_description', true);
g_form.setReadOnly('description', true);
g_form.setReadOnly('assignment_group', true);
}