How to call Service Catalog from new tab in Service Operations Workspace?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2022 03:03 AM
I know that new actions can be added by editing chrome_tab property.
I need to call Service Catalog screen.
Can I simply change route to link "/sp?id=sc_category" and how?
Maybe this way?
"label": {
"translatable": true,
"message": "Service Catalog"
},
"routeInfo": {
"route": "/sp?id=sc_category"
}
Or maybe that?
"label":{
"translatable":true,
"message":"Service Catalog"
},
"type": "navigation",
"position": 100,
"primaryDisplay": "none",
"value": {
"type": "external",
"opensWindow": "true",
"value": {
"href": "/sp?id=sc_category"
}
}
- Labels:
-
Agent Workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2023 07:52 AM
Any luck with this? I'm trying to accomplish the same thing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2024 06:53 AM
Hi @daware-madhu103 .
I would like to pay your attention again to my code what I prevoiusly posted. Especially to the 'condition' block.
Ok, I repeat my code again.
{
"label": {
"translatable": true,
"message": "Create from Catalog"
},
"routeInfo": {
"route": "record",
"fields": {
"table": "sc_cat_item",
"sysId": "-1"
},
"multiInstField": "sysId"
},
"condition": {
"tableDescription": {
"table": "universal_request",
"canCreate": true
}
}
}
Look at the 'condition' block. This means that to open Service Catalog and then to submit a request successfully non-admin user must have permission to create a record in the 'universal_request' table. Because on our project we create a Universal Request each time after submitting a request. And we have granted this permission (in ACL on this table) to users who service this records. Of cause, you can use any condiition as you whish.
In my example if I revoke a role which is granting a permission to create a record in the 'universal_request', this option will be hidden under '+' tab on the Service Operations Workspace.
Please check the 'condition' block.
I'm not sure, try to ommit the 'condition' block if you don't have to restrict your option under the '+' tab.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2024 07:03 AM
Hello @Vadzim Surin1,
Thank you for the solution. For our case, we added a table for which users have access (the Incident table) and it worked!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2024 03:57 AM
This works! thanks