- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2022 08:59 PM
I have a catalog item with variable "Change Request" which is a refrence field to change request table and another variable "SP Email" .I have to fetch the email ID of SP change coordinator from change request table .
I am using script include and onChange client script for this but not able to fetch any values.
onChange Client Script
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2022 09:13 PM
Hi @Shalika,
I agree with @Tony Chatfield1, In your script include, line
var ciID = this.getParameter('sysparm_name');
should be
var ciID = this.getParameter('sysparm_ci');
Note -
It should be same parameter name used in client scritps Glide ajax call.
ga.addParam('sysparm_ci', g_form.getValue('change_request_id'));
Thanks,
Sagar Pagar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2022 09:13 PM
Hi @Shalika,
I agree with @Tony Chatfield1, In your script include, line
var ciID = this.getParameter('sysparm_name');
should be
var ciID = this.getParameter('sysparm_ci');
Note -
It should be same parameter name used in client scritps Glide ajax call.
ga.addParam('sysparm_ci', g_form.getValue('change_request_id'));
Thanks,
Sagar Pagar