How to make a Glide Ajax call in Workspace Client Script ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Error meg:
POST https://dev306480.service-now.com/xmlhttp.do 404 (Not Found)
Unhandled exception in GlideAjax. undefined
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Thank you for marking my response as helpful.
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
You cannot use GlideAjax and script includes in workspace.
For your use case I would consider creating a Data Broker Server Script (sys_ux_data_broker_transform). Here you can do server-side actions based on inputs from your page and return an output based on the script evaluation. Just ensure to check "Mutates server data" to be able to execute the Data resource with an event.
This video briefly describes the concept: https://www.youtube.com/watch?v=QrTc8PTOHmc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
I tried, but it doesn't work now. I have tried this lesson.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
Although I still haven't been able to initiate a request in SOW, at least I know that this problem is not facing me alone. Doesn't ServiceNow official know about the existence of this problem and provide a simple and feasible solution?
