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

Remove the spaces from around the = and true. Treat it all as one set thing:

ref_decoration_disabled=true

Please mark reply as Helpful/Correct. Thanks! 


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

Community Alums
Not applicable

Thanks for getting back quickly. It is still not working. Do I have to add a comma or a semi-colon side it?find_real_file.png

Hi,

Yea, my apologies. It appears while this does work for normal fields:

https://hi.service-now.com/kb_view.do?sysparm_article=KB0714705

It doesn't seem to work on variables...only way would be DOM manipulation for the back-end UI...and I think you want Service Portal as well.

https://community.servicenow.com/community?id=community_question&sys_id=63b1cf69db98dbc01dcaf3231f96...

Please mark reply as Helpful/Correct, if applicable. Thanks!


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

This worked for me THANK YOU!

I added the attribute setting to the Dictionary Entry Override for my table specific reference field:

find_real_file.png

AND the result is that no icon now appears:

find_real_file.png

Hi,

I'm glad my suggestion above helped you.

Please mark that post above as "Helpful".

Take care!


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