when an ITIL role user login to the system & view the incident form .Do not show priority field.When an admin user login to the form show the priority field.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-04-2022 03:06 AM
I have created it but the view is not showing.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-04-2022 06:11 AM
Hi Manasi,
guess an onLoad client script should do the trick:
function onLoad() {
if (!g_user.hasRoleExactly('admin')) {
g_form.setDisplay('priority', false);
}
}
Cheers!
Martin