How to remove popup (i) icon from portal

Jessica1307
Tera Expert

I want to  disable the preview function in portal, how to remove it from portal

Jessica1307_0-1794204593653.png

 

3 REPLIES 3

Ankur Bawiskar
Tera Patron

@Jessica1307 

if you want to hide it entirely in entire portal then check this

How to hide reference variable (Information icon) on Catalog items in Service portal 

If you want only for 1 catalog item and particular variable then you will require onLoad catalog client script and use DOM manipulation for that.

Another link

Hide referenced popup in new Service Portal in Helsinki 

💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏

Tanushree Maiti
Tera Patron

Hi @Jessica1307 

 

To remove or hide the information/preview (i) icon next to reference fields in the ServiceNow Service Portal ,you can add a field attribute.


1.Navigate to System Definition -> Dictionary

2. Open Record ( like Caller)
3.  In dictionary of that field, set attribute as "ref_decoration_disabled=true".

 

Ref: https://www.servicenow.com/community/developer-forum/how-to-disable-quot-i-quot-button-from-referenc...

https://www.servicenow.com/community/developer-forum/remove-quot-preview-record-quot-icon-from-a-ref...

 

Aditya_hublikar
Giga Sage

Hello @Jessica1307 ,

 

Go to the portal theme css sheet  and add below css code :

 

.field-has-reference button {
display: none;

}

 

Aditya_hublikar_0-1794231099154.png

 

Aditya_hublikar_1-1794231337173.png

 

 

 

 

 

 

 

 

 

 

If this helps you  then mark it as helpful and accept as solution .

Regards,

Aditya