- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2024 10:37 AM
Hello
I created 2 tables in app engine servicenow, table "Requests" and table "Requestor Details"
Now my table "Requests" has Field "Name" that is referenced to my table "Requestor Details", what i want and need is that if i change the "Name" field in the "Requests" Table the "Email" Field will be automatically populated with the value from "Requestor Details" Table
Client Script code
Solved! Go to Solution.
- Labels:
-
App Engine Studio
-
Glide Ajax
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2024 06:24 PM
Hi @glennjasper0 ,
No still you have not followed the code. I have clearly mentioned that using action you can not call script include
use below in you client script and replace the with actual name.
}
ga.addParam('sysparm_name', 'getEmail');
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2024 08:18 PM - edited 11-23-2024 08:22 PM
Hi @glennjasper0 ,
you have not followed glide ajax syntax.
change below.
check this blog for Glide Ajax : https://servicenowwithrunjay.com/glideajax-in-servicenow/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2024 12:01 AM
Hello @Runjay Patel
thanks for this, however,
I tried to follow your instruction and guide in your blog, but got no luck, I'm still getting null result,
I also tried to pass 'sample' string directly from my script include for testing purpose but it is not passing to my client script.
don't know if i did it correctly or missed something, check my code in attached file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2024 06:24 PM
Hi @glennjasper0 ,
No still you have not followed the code. I have clearly mentioned that using action you can not call script include
use below in you client script and replace the with actual name.
}
ga.addParam('sysparm_name', 'getEmail');
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2024 07:27 PM
It worked! thank you 😄 i followed everything from your blog