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

Surendra Poosa1
Kilo Expert

You can use an attribute ref_decoration_disabled = true

Community Alums
Not applicable

Hi,

Where do I use that attribute? Do I insert it on the variable?

Thanks,

Preet

Hi,

In the variables attributes section for that field...as seen here:

-ref_decoration_disabled = true/false	
-any reference field	
-When set to true, disables display of the reference icon on a selected field.

find_real_file.png

 

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


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

Community Alums
Not applicable

I have done that, but not working for some reason.