Preview on Catalog Items

oharel
Kilo Sage

Hi,

Can I remove this preview link (which does not do anything anyway) from the items list?

The value of glide.sc.auto_expand is set to 0. I changed it to 1 and then back to 0, just to make sure. Preview is still there.

Currently on Helsinki patch 6, UI16, This also happened in patch 2 and in UI15.

itemswithpreview.JPG

Thanks

Harel

1 ACCEPTED SOLUTION

Brad Tilton
ServiceNow Employee
ServiceNow Employee

So the link will always show up if you have the description field populated, and should show whatever pictures and text you have in the description. If it's not showing those things when you click on it then that's a bug you should report. I don't think there's a great way to remove it.


View solution in original post

5 REPLIES 5

Brad Tilton
ServiceNow Employee
ServiceNow Employee

That property controls how many items on the page are auto-expanded not how many have the preview link show up at all. I believe the only thing that controls whether or not the preview expand link shows up is whether or not the description field is populated or not.


Hi Brad,



I looked here: Preview on catalog item   before posting.


Yes, removing the description helps, but that's sort of counter productive, as I want the description in the item.


Also, clicking on the link doesn't do anything. It's like normal text - I would definitely like to remove it.


Ideas?


Brad Tilton
ServiceNow Employee
ServiceNow Employee

So the link will always show up if you have the description field populated, and should show whatever pictures and text you have in the description. If it's not showing those things when you click on it then that's a bug you should report. I don't think there's a great way to remove it.


Support said that my com.glideapp.servicecatalog_category_view UI Page is customized (indeed it is...).


That's why it is not working.



Thanks for the help guys


Harel



From the OOB file, I added the following line:


<g:requires name="scripts/js_includes_catalog.js" includes="true"/>