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.

Manasi4
Kilo Explorer

I have created it but the view is not showing.

1 REPLY 1

Martin iTSM
Tera Guru

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