How do you hide the preview icon (i) from a reference variable on the Service Catalog?

Community Alums
Not applicable

Hi all,

I'm trying to find the best solution to remove the preview icon from one of my reference variable (Requested for) from all the items on the Service Catalog. Can someone assist suggesting the 'best practice' solution?

Thank you,

Preet Patel

The icon looks like this find_real_file.png.

1 ACCEPTED SOLUTION

Rick Forristall
Tera Guru

Did you ever solve this?

If you're on a portal page, you can add page specific css to hide it.

That element has a class of 'add-on' so in the Portal Page's Page Specific CSS you can add:

.add-on{
	display: none; 
}

find_real_file.png

find_real_file.png

View solution in original post

24 REPLIES 24

Hi,

Yea, there are other solutions here that are not "all or nothing". Please see above.

The one that was marked as correct is that way, but there are other options.

Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

the one marked as the solution @Rick Forristall  is page specific not variable specific and the other options are for dictionary attribute which doesn't work on catalog variables... am I missing something?

creating a custom page for this one catalog item is not ideal again for reasons I've already provided

Also customizing CSS is not something my customer is able to support themselves so even if it is possible I see that it has stopped working with upgrades and we may not be engaged with them at that point to resolve. 

@Rick Forristall  sorry I missed the second part of your suggestion multi tasking... i'll take a look into it.. i'll also run it by our UI/UX practice lead and see if hes done this before.. thanks!

@Robert Duca Hopefully there is some uniqueness to the DOM that will allow this.

saikatmitra
Tera Contributor

How do you hide the preview icon (i) from a Glide List type field in Service Now. The ref_decoration_disabled=true attribute can be used to hide preview icon in a reference field but it does not work for glide list type field.