- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-14-2022 06:12 AM
Hi Team,
I have a requirement as - I need to add a catalog item as a related link on a incident form or any particular form.
and after a click on this link my catalog form must be opened to submit a request.
Pls let me know how can I achieve this requirement.
Can we achieve this via UI action and tick the "form link" checkbox as true on UI action . But how we can have our catalog item under this link.
Pls help
Thanks
Solved! Go to Solution.
- Labels:
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-14-2022 07:16 AM
Thank you for marking my response as helpful.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-14-2022 06:21 AM
Hi,
yes UI action with Form link will do
ensure you make UI action as client side
Client checkbox - true
Onclick - openCatalogItem()
Script
function openCatalogItem(){
var url = '/com.glideapp.servicecatalog_cat_item_view.do?v=1&sysparm_id=5682e70d07e51410540bf2508c1ed0f7';
g_navigation.open(url, '_blank');
}
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-14-2022 06:35 AM
Thank you
Just want to confirm one thing in line var url. Do I need to change the complete url or just sysparm_id = sys_id of my catalog item.
var url = '/com.glideapp.servicecatalog_cat_item_view.do?v=1&sysparm_id=5682e70d07e51410540bf2508c1ed0f7';
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-14-2022 06:49 AM
Hi,
just change the catalog item sysId and it will work for native
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-14-2022 07:16 AM
Thank you for marking my response as helpful.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader