- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2023 04:10 AM
Hi!
Can smeone pls explain where to get this (the highlighted)? Is this coming from a field in a table??
I'd appreciate any help. thank you!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2023 04:29 AM - edited 11-13-2023 04:29 AM
Hi @Dizy M
You can find it in Client Scripts or UI Action Scripts. Basically, if you have to pass any parameter (or data) from client-side code to server-side code, you have to use GlideAjax API to achieve it. You can pass the parameters using the addParam() method of GlideAjax API and fetch it in the Script Includes using this.getParamater() method.
Attaching the reference to get more idea on this:
https://www.servicenow.com/community/developer-articles/glideajax-example-cheat-sheet/ta-p/2312430
Thanks!
If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up 🙂

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2023 04:23 AM
Hi Dizy,
It has to be input from client script or some reference qualifier parameter. Can you check in Client scripts once by applying filter as Keywords | are | sysparm_sysID
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2023 04:26 AM
Hi @Dizy M
this.getParameter('sysparm_sysID'): It's like asking script to give you a specific piece of information called 'sysparm_sysID'. for example if you pass some information from Client script to script include. Here will have the input received from client script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2023 04:29 AM - edited 11-13-2023 04:29 AM
Hi @Dizy M
You can find it in Client Scripts or UI Action Scripts. Basically, if you have to pass any parameter (or data) from client-side code to server-side code, you have to use GlideAjax API to achieve it. You can pass the parameters using the addParam() method of GlideAjax API and fetch it in the Script Includes using this.getParamater() method.
Attaching the reference to get more idea on this:
https://www.servicenow.com/community/developer-articles/glideajax-example-cheat-sheet/ta-p/2312430
Thanks!
If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2023 04:35 AM - edited 11-13-2023 04:36 AM
Hi @Dizy M ,
As everyone have mentioned that most probably it should be coming from the client script or some place else. In order to easily find it you can go to the catalog client scripts table (catalog_script_client) & filter it using script contains "fetchDPandSub"
It will give u the client script in which it is being used.
Thanks,
Danish