Can Service Catalog be added to Service Operations Workspace?

Danny Barker
Tera Contributor

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.

DannyBarker_2-1706570350511.png

Can this be added in the list view below for SOW

DannyBarker_3-1706570504997.png

 

 
 

 

 

1 REPLY 1

Community Alums
Not applicable

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;
}
 
Then you need to edit your UI action and add the catalog as a parameter.