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

-O-
Kilo Patron
Kilo Patron

Agent Workspace uses a different portal, the one with URL suffix swp. You need to configure that portal.

Hi @-O- sir,I tried that too but results not reflecting.

@-O- Sir, the way you proposed is the right but I am unable to edit/add a new 'Catalogs' into this Service Workspace Portal, as there is no edit option under the related list-Catalogs. I am editing a record in Service Catalog - Service Workspace application

rishabh31_0-1682833209918.png

Please assist with how it can be configured. I also tried ServiceNowDoc https://docs.servicenow.com/en-US/bundle/utah-platform-user-interface/page/administer/workspace/task...

But not useful.

Thanks in advance

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