How to hide a catalog item in service portal

enigmagope
Tera Expert

Hi,

We need to hide certain catalog item from a catalog when it is shown in service portal. Instead of making "Active==false" in maintain items, how to hide it from the widget.

I'm using a "catalog content" widget to show the items in a catalog.

Please help us with a solution.

1 ACCEPTED SOLUTION

enigmagope
Tera Expert

Hi Nawaz,



I have used "nameINabc,xyz" to achieve this.Thank you so much for your help


View solution in original post

7 REPLIES 7

Hi Nawaz,


It is working for var query="name=abc". But when we give   for 2 values (var query="name=abc^name=xyz";) its not working as expected.


Here I changed the code to show only items which need to view. But then we couldn't make the both the items to be viewed. Can you help us with that.



Regards,


Gopi



use this for showing:


name=abc^ORname=xyz



please hit correct if it solved or helpful if it helped...



thanks


enigmagope
Tera Expert

Hi Nawaz,



I have used "nameINabc,xyz" to achieve this.Thank you so much for your help