Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2022 11:36 AM
1 ACCEPTED SOLUTION

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2022 12:05 PM
Hi Anmol,
Try to create read ACL like this if works fine but mostly it might create conflict with other ACL so first try below
If ACL doesn't work then simply write Onload client script like below. Mark my answer as correct if that helps.
function onLoad() {
if (g_user.hasRoleExactly('itil'){
var fields = g_form.getEditableFields();
for (var x = 0; x < fields.length; x++) {
g_form.setReadOnly(fields[x], true);
}
}
}
Please hit like and mark my response as correct if that helps
Regards,
Musab
Regards,
Musab
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2022 12:05 PM
Hi Anmol,
Try to create read ACL like this if works fine but mostly it might create conflict with other ACL so first try below
If ACL doesn't work then simply write Onload client script like below. Mark my answer as correct if that helps.
function onLoad() {
if (g_user.hasRoleExactly('itil'){
var fields = g_form.getEditableFields();
for (var x = 0; x < fields.length; x++) {
g_form.setReadOnly(fields[x], true);
}
}
}
Please hit like and mark my response as correct if that helps
Regards,
Musab
Regards,
Musab