What's wrong with my GlideAjax?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2024 01:32 AM
I wrote a simple glide ajax to get caller's email address and add it to the short description.
Apparently, the script include part is not invoked and I am not able to see logs. Please identify the issue.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2024 03:17 AM
Few observations
Script include
1) you want to return only 1 value i.e. email then why to send JSON?
2) line 13 won't trigger as you are already returning
Client script
1) are you sure there is no space in script include name
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2024 03:20 AM
There is no space in script include name and I have made the two corrections on script include. Still Script include won't trigger