I want to remove the "i" icon from the reference type field in the record producer.

bonsai
Mega Sage

I created a variable in a record producer that references the user table.
I only want to share the display value with the user, so I don't want the "i" icon to appear.
I tried using "ref_decoration_disabled=true" in the dictionary attribute, but it didn't work.

Does anyone know a better way to do this?

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@bonsai 

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.

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

View solution in original post

9 REPLIES 9

Ankita_Patil
Tera Contributor

Hi @bonsai,

 

This link has working solution

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

 

Regards,

Ankita

Ankur Bawiskar
Tera Patron
Tera Patron

@bonsai 

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.

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

A simple solution that works for the whole page!
Thank you!

Shruti D
Tera Guru

Hello @bonsai ,

For a solution specific to the Service Portal, take a look at this community thread:
Hide referenced popup in new Service Portal 


Please Mark Correct ✔️ if this solves your query and also mark Helpful 👍 if you find my response worthy based on the impact.

Regards,
Shruti

AbinC
Tera Contributor

Hi @bonsai ,

you can create a onload client script and hide it this way:                                                                                                                if you found it helpful please mark it a solution

 

Thanks,

Abin 

 

var variableName = 'name of reference variable';


var id = g_form.getControl(variableName ).id;


$(id + 'LINK').hide();

You can also use a dictionary attribute

ref_decoration_disabled

AbinC_0-1757496565397.png

 

 

 

Reference Doc : https://docs.servicenow.com/bundle/paris-platform-administration/page/administer/reference-pages/con...

Regards