How to control the view of the 'i' icon or remove it completely

Alon Grod
Tera Expert

Hi,

In my record producer one of the fields is reference to customer_account table.
OOB functionality there is an ('i') icon to preview the record.
How can I control the the view that will be shown on click or how can I disable the ('i') icon completely ?

AlonGrod_0-1771227394249.png

 

9 REPLIES 9

As per this community post , you need to update CSS. 

Hope it will help you.

 

 

Please mark this response as Helpful & accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

Prince Arora
Tera Sage

Hey @Alon Grod 

 

Can you check the below link if your concern is related to Service portal only

https://www.servicenow.com/community/developer-forum/how-can-i-remove-information-icon-from-a-refere...

 

Thanks 

ref_decoration_disabled=true

Ankur Bawiskar
Tera Patron

@Alon Grod 

what you want?

-> want to remove only for this variable?

OR

-> want to remove for all variables on this record producer

OR

-> want to remove on all reference variables on all catalog items, record producers for your portal

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

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

Ankur Bawiskar
Tera Patron

@Alon Grod 

Use the below CSS. It's working as expected.

It will remove i icon from all reference variables on your portal

How to hide reference variable Information icon on catalog items in Service Portal 

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

 

AnkurBawiskar_2-1771232407607.png

 

 

Output:

AnkurBawiskar_3-1771232422575.png

 

 

 

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

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

Ankur Bawiskar
Tera Patron

@Alon Grod 

if you want it to be removed only for particular variable then follow solution in this link

How can I remove information icon from a reference variable in portal. 

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

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