Multiple Catalogs in Service Portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2017 08:34 AM
*Helsinki, patch 7*
Hi folks,
In the Service Portal, I have 2 Service Catalogs that I want to present to the user. These catalogs are referenced behind a cloned 'Instance with Link' Widget and each has it's own Type Catalog Category and Catalog category references a different Catalog. Screenshots below:
Widget 1
Widget 2
In the Service Portal config, I have intentionally left the Catalog field blank so that the portal doesn't use a default. The result is that no Category filter is being placed on the returned values (all catalogs and categories are being returned).
All catalogs are returned
My questions is, should each instance of the Widget filter the Catalog Category automatically so that only Facilities or Security Requests are returned as defined in the Instance, or do I need to get the Catalog Category value (sc_category) and filter the results myself? I am a little confused on if this is a bug or I messed something up (the more likely scenario).
Thanks!
David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2017 09:21 AM
Pretty sure that current OOB ServiceNow Service Portal options/widgets really only supports 1 Service Catalog
I think the basic idea is that each catalog would/could be its own portal (HR vs Facilites vs IT, etc...)
However, having said that you could change the catalog widget query to do what ever you want
one possible option is to use the "show_in_cms" flag on the catalog/category table (or create a new show on portal flag)
i.e. Clone the SC Categories widget, change the Server Script,and modify the server script query (see below)
add the new widget to your page, and set the show_in_cms flag to True for the two categories you want to show