How to restrict the catalog Categories and Catalog Items in Service Portal?

ssswetha13
Tera Contributor

Hi All,

I have a requirement where I need only four Categories   and their few respective Catalog Items to be visible on Service Portal. The categories also include content Items.Below are the two scenarios of the requirement.

1) I have used an Icon Link Widget in homepage which queries the Service Catalog table as per its default functionality. As per the requirement, on clicking upon the Icon link it is redirecting to the "sc_home page", but it is showing all the categories. How can I customize the page/widget after cloning it, so that it shows only the required Categories. Also, I don't want to deactivate the other unwanted categories in service catalog.

2) So, based on the category that has been selected, all the catalog Items and Content Items are also visible. Is there way to restrict the content Items and Catalog Items, so that only the required ones are visible without deactivating the other unwanted Catalog Items?

15 REPLIES 15

Line 6 semi-colon missing.


Hi Nayan,


I did add semicolon and tried to save it, still it was showing the same error.


Hi Swetha,



I also went thru similar problem, few of the widgets are having same issue while cloning.



Remove or comment


Return statement from LINE 8 and LINE 28


Now try to save.



Regards,


Jeet


ssswetha13
Tera Contributor

Thanks Jitendra!!! That did help..


WC
Mark as correct answer Swetha if you hv found this one helpful