Script Includes: provide use case to understand !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
8 hours ago
Hi all,
I'm trying to understand difference between script include and client ajax. Script include is for server side calling of same script and glideajax is similiar to script include but used to call this script on client scripts. Is my understanding correct?
Can you provide one or two use real case for each which can help clear my confusion.
RThanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hi @ZebaT ,
Simply put : GlideAjax is a client side API that allows client scripts (running in the browser) to make calls to server side Script Includes(piece of the logic which run on the Service side)
You can refer below threads for some practical use cases,
https://intelibliss.com/servicenow-client-script-and-glideajax/
https://www.servicenow.com/docs/bundle/yokohama-application-development/page/script/server-
scripting/concept/c_ScriptIncludes.html
https://www.servicenow.com/community/developer-forum/what-is-glide-ajax-syntax/m-p/2009485
Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025