Make SC Catalog Item 2 widget for service portal open one specific catalog item
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2022 07:39 AM
Hi all
I have a requirement to make a copy of the SC Catalog Item 2 widget and code it to open one specific catalog item only. This is because we are creating a separate portal that will be set to public, with one landing page which will also be set to public, and on that page will be the copy of the SC Catalog Item 2 widget which will also be set to public. We want that widget to display one particular catalog item form which will be completed by people outside of our organisation.
Currently, the SC Catalog Item 2 widget is passed the sys id of whichever cat item/ record producer the user clicks on via the SC Category page widget (or a group of other widgets I think e.g. popular items etc). If anyone knows what I would need to do to the code of the SC Catalog Item 2 widget to set it to open one specific catalog item every time, without the user first clicking on an item on the SC Category page widget, that would be great!
Thanks in advance
Sarah 🙂

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2024 01:58 PM
I was able to get Jan's original solution to work by changing the server script to match the option name.
Once I replaced options.cat_item with options.catalog_item it worked perfectly.
Thanks!
Galen