Display only one Catalog Category when using the "Create Request" UI Action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a month ago
Hello everyone,
I need to be able to open a Request from an Incident in the Service Operations Workspace, so I've tweaked the Workspace Client Script of the "Create Request" UI Action to my needs and have been using that.
Thing is, whenever I click on the UI Action and open the new tab it automatically opens on the "Popular Items" Page. This allows the user to access all catalogs and all categories - while I only need them to access one catalog and only one category
I've tried adding different parameters, such as -
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 weeks ago
The this approach - use g_aw.openPage to navigate directly to the category page, bypassing "Popular Items" entirely.
In UI Action's Workspace Client Script:
g_aw.openPage({
route: 'sc_category',
fields: {
catalogId: 'SYS_ID_OF_YOUR_CATALOG',
categoryId: 'SYS_ID_OF_YOUR_CATEGORY'
}
});
To confirm the exact route value and field names for your instance, navigate manually to the desired category in SOW and inspect the URL hash — it'll show you the route string and parameter names the page expects. You can also verify in UI Builder → Service Operations Workspace → Pages under the catalog category page definition.
