Hide Info Icons beside reference field.

Rocky5
Kilo Sage

Hello Experts,

Using ACLs I have made few reference fields like opened by, caller,  and affected user read-only for users who has specific role, And now I want to hide the "info" icon and "show related incidents" icon marked only for users with that specific role or on the specific view. screenshot below is for reference.

How can I achieve that?

 

find_real_file.png

Thanks,

Rocky.

10 REPLIES 10

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

You can make instance level change for this

1) UI Properties module

2) Uncheck this -> Enable click-through of a reference field when the reference field is read-only.

3) Logout and login and then verify

find_real_file.png

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hello Ankur,

 

The propery is already unchecked in our instance. but still we see those icons. Any other input?

 

Thanks,

Rocky.

Hi,

That property should work. Did you try to logout and login?

If still not working then keep it as it is and show limited fields on the sys_popup view for sys_user table

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Chetan Mahajan
Kilo Sage
Kilo Sage

Hi Rocky,

                     Try Below onLoad client script to hide it for specific user

function onLoad() {
//Type appropriate comment here, and begin script below
if(g_user.hasRoles('itil'))
$('view.incident.caller_id').hide();  
}

refer : Hide reference icon(i) and magnifier for one specific role