How to make reference fields on a list view Read/Only(Not clickable)

stevevassallo
Kilo Contributor

We have a request to make a view we have of the Applications in our CMDB not clickable for reference fields we have in it (Business manager etc).     Currently a non-Itil user can view this list (by design) and see the Business Manager.   This field being a reference fields has the line under it.   The non-itil user can click on it and go to that record.   is there a way to lock this down so that field on the list view isn't clickable?

Thanks
Steve

3 REPLIES 3

marcguy
ServiceNow Employee
ServiceNow Employee

you can use list control to 'omit links' for specific lists.



Omit links

Select the check box if you want links for fields that reference other files in this list. Leave this button unchecked if you always want links to be generated or if you want to control the use of links with roles (Link roles field).



Link rolesSpecify the user roles required to have links generated for fields that reference other files.

http://wiki.servicenow.com/index.php?title=Configuring_Lists#gsc.tab=0


stevevassallo
Kilo Contributor

mguy that helps a lot.. Using this removed all links.. and I was looking for a script to just remove some of the links. I know I can add the Omit Links condition but just having trouble coming up with the correct script.



Thanks
Steve


Not sure if this helps but Brad Tilton had a similar answer to this here which helped me: https://community.servicenow.com/community?id=community_question&sys_id=a62347e1dbd8dbc01dcaf3231f9...

Basically in the list layout, instead of referencing the record in the column ie cmdb_ci.business_manager instead reference a FIELD on the record ie cmdb_ci.business_manager.name. That will make that column no longer a link to the reference.

Hope that helps.