Adding parameters in URL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2023 04:44 AM
When a user is clicking a url from external application then it should redirect to a catalog item in servicenow with short description 'SAP'
I tried passing paramenters as below but its not working .
Can anyone helo me please
https://{INSTANCE NAME}.service-now.com/sp?id=sc_cat_item&sys_id=482c8a621bdb0510ccbb6202b24bcb2a&sysparm_variables="short_description":"SAP"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2023 07:01 AM
You can´t do this OOTB. But there are a few examples as workarounds.
Basic concept: You have to retrieve and parse the URL in an onLoad Client Script and set the variables.
https://snprotips.com/setting-catalog-item-variables-from-url