Can Service Catalog be added to Service Operations Workspace?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2024 03:22 PM
Hello, We are moving to SOW and are trying to figure out how to get Service Catalog added to the list view. Currently we do not see a way to place an order for Hardware /Software except if you are in an existing Incident.
On the fulfiller side we have the option below.
Can this be added in the list view below for SOW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2024 07:49 PM
Hi @Danny Barker ,
1 - In the UI Builder, select the page "Record" . In the list of variants, you should see one named "Catalog Item Page SNC"
2 - Duplicate the variant and select it
3 - In the body of the page, you have one widget name "Catalog iFrame". In the "Config" section, you have a field named "Catalog ID".
4 - Edit the scripted property value, add the following code. This is to read the id of the category you want to select.
function evaluateProperty({
api
}) {
let extraParams = {};
if (api.context.props.extraParams) {
let paramObjects = api.context.props.extraParams.split("/");
for (let i = 0; i < paramObjects.length; i = i + 2) {
extraParams[paramObjects[i]] = paramObjects[i + 1];
}
}
return extraParams.catalogId;
}