
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2018 12:13 PM
I am calling a script include using glide ajax from client script in a UI page. And strangely getting this error GlideAjax is not defined. Everything is in global scope. not sure about the reason of such an error
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2018 01:07 PM
Ok. I unchecked the Direct CheckBox and it seems to be recognizing GlideAjax Now

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2018 12:43 PM
i already did but of no use.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2018 12:50 PM
Now i may sound like the guy "reboot the server" for any IT issue.
but can you do following quickly, if it is not time consuming
1) do cache.do on your instance
2) Create a new script include(copy) and ui page (copy)
and try ?
"thinking more troubleshooting methods"
Thanks
Ishan Parikh

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2018 01:07 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2018 01:21 PM
Damnnnn man 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2018 02:01 PM
Ooooh. I see, nice shot. To people who are reading this thread the reason GlideAjax did not work is because of the checkbox named DIRECT on the UI page was checked.
If this checkBox is checked, all the ServiceNow Javascript Dependencies (thats that support GlideAjax aswell) wont be available. This check box is basically used if you have to load external libraries into the Page.
Refrence : https://hi.service-now.com/kb_view.do?sysparm_article=KB0685211
Thank you,
Aman Gurram