- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-29-2023 11:23 AM - edited ‎04-29-2023 11:16 PM
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.
Now there is an OOB UI Action 'Create Request' on Table 'Interaction' which looks like per below screenshot-
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)-
>
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)
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!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-29-2023 11:27 PM
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 Application
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-30-2023 12:06 AM
Thank you @-O- Sir, As advised same application picked from Application Picker (as shown below screenshot highlighted in yellow)
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'.
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)
Thanks for the response, marked as an accepted solution and helpful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-30-2023 12:07 AM
Thank you too, and am glad it works now 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-29-2023 11:35 PM
@rishabh31 Why creating nee catalog instead add those items to service catalog only.
Bharath Chintala