Assign CUSTOM Service Catalog to a Service Workspace Portal (Service Portal>Portals)

rishabh31
Mega Sage

Dear Team,

I created a custom service catalog named 'My Service Catalog' and mapped it under the Service portal (as shown below screenshot) to display its category (General Items) and associated cat items (see screenshot highlighted part) in the Service Portal.

rishabh31_0-1682790022463.pngrishabh31_1-1682790189084.png

Now there is an OOB UI Action 'Create Request' on Table 'Interaction' which looks like per below screenshot-

rishabh31_2-1682790616734.png

The only scripting is done here as 'Workspace Client Script':

 

 

 

function onClick() {
	var result = g_form.submit('sysverb_ws_save');
	if (!result) { // failed form submission
		return;
	}
	result.then(function() {
		var params ={};
		params.sysparm_parent_table = "interaction";
		params.sysparm_parent_sys_id = g_form.getUniqueValue();
		g_service_catalog.openCatalogItem('sc_cat_item', '-1', params);
	});
}

 

 

 

Now In Agent Workspace, this UI Action is enabled through which when I open an IMS record and click on the button 'Create Request', it opens the service portal page where we can select desired Cat items and raise requests. (See screenshot below)-

rishabh31_3-1682791312850.png>rishabh31_4-1682791447579.png

But here we can see that when the service portal is accessed through Create Request button on IMS record in Agent WSpace, the custom-created service catalog and its associated categories (missing under the Red box in the above screenshot when compared to the direct Service Portal view where it's not missing as shown in below screenshot)

rishabh31_1-1682790189084.png

I want to display this custom Service Catalog > Category (General Items) or similar view to the Service portal through Agent workspace when clicking on 'Create Button' in IMS record. so that can access its associated cat items from AW.

 

Please help me to get this acheived.

 

Thanks In advance!

1 ACCEPTED SOLUTION

Try switching to the Service Catalog - Service Workspace application 1st. The link you pressed to make the record editable applies only to the record itself, not related records too:

Select ApplicationSelect Application

 

View solution in original post

7 REPLIES 7

Thank you @-O- Sir, As advised same application picked from Application Picker (as shown below screenshot highlighted in yellow)

rishabh31_0-1682837324785.png

Later, open the Portal> Service Workspace Portal, where now able to see 'Edit/Add' button on related list 'Catalogs' (shown in screenshot), through which added my custom service catalog 'My Service Catalog'.

rishabh31_1-1682837579985.png

Resulting, then opens the Agent Workspace> Open any IMS record> click on the button 'Create Request' > directs to the service portal page> Now able to see desired Cat items for the Catalog (My Service Catalog) and its associated Category (General Items) (Shown in below screenshot)

rishabh31_2-1682838289043.png

Thanks for the response, marked as an accepted solution and helpful. 

Thank you too, and am glad it works now 🙂

BharathChintala
Mega Sage

@rishabh31  Why creating nee catalog instead add those items to service catalog only.

If my inputs have helped with your question, please mark my answer as accepted solution, and give a thumb up.
Bharath Chintala