Remove Info Icon on Service Portal - Only one field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2020 08:31 PM
Hi All,
I have a drop down reference field on Catalog item. I do not want to allow user to see other details of the referenced records. For this I need to hide the Info button on the reference variable. I found below KB but its for all fields on the SP. I need it only for one field.
https://hi.service-now.com/kb_view.do?sysparm_article=KB0714594
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2020 09:06 PM
Hi,
You won't have to do DOM manipulation, but you would have to use some CSS. You have a few options as to where to apply this in your portal:
- Entire Portal
- Per Page
- Per Widget
Please have a look
Kindly mark it correct and helpful if it is applicable.
Thanks,
Priyanka

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2020 09:18 PM
Hi SU,
Please change your CSS to this
- Change #sp_formfield_reference_ + "Field Name"
#sp_formfield_reference_u_manager .add-on{
display:none;
}
Mark ✅ Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Cuong Phan
DXC Consultant.
Cuong Phan
ServiceNow Technical Lead
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2020 04:32 PM
Just a warning, using the CSS above will break in Orlando, as I have found out to my detriment.
You could use a Lookup Select Box variable type rather than a Reference, no CSS required and no Info Icon displayed.
If you need to use CSS, the following seems to work in Orlando:
.add-on > button.lookup {
display:none;
}
Good luck!