Glide AJAX not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-10-2018 12:54 AM
Hello Experts,
My goal is to have a string field on incident form and when the form loads, it should get populated with CI details ( like name , manufacturer , asset tag etc ) based on what is selected under configuration item.
To achieve this, I created onload client script, and using glideajax to interact with script include which returns the data from that specific configuration item, however I am getting null value as a result. Can someone please help ?
Below is the client script
script include
Output 😞
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-10-2018 01:02 AM
try creating onchange client script instead and remove isLoading from the script so that it runs on load also.
Thanks,
Ali
Thank you,
Ali

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-10-2018 03:19 AM
Hi Uma,
Is your log messages are getting printed..?
Also cross check in your script include that Client callable is checked/True.
Regards,
Ajay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-10-2018 11:53 PM
HI Ajay,
yes, scrip include is client callable and logs get printed only from client scripts. Logs from script include is not getting printed. Seems like script include is not getting called
Thanks!
Uma

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-11-2018 08:20 AM
the only error I am seeing is in gs.log() raaju should be in quotes. may be that is the issue.
Thank you,
Ali