Are there any real use cases for using synchronous GlideAjax?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2024 08:50 AM
Are there any real use cases for using synchronous GlideAjax? If yes, can you share the scenarios.
Thanks in advance !!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2024 10:11 PM
Hi @Suggy ,
There are many example of synchronous GlideAjax
1. A user selects a category, and you need to fetch a list of subcategories immediately to populate another field dynamically.
2. Prevent submission of a catalog request if a similar request is already open.
3. A user selects a group, and the script checks if the user belongs to that group before showing specific UI components.
Check Ajax call in details here: https://servicenowwithrunjay.com/glideajax-in-servicenow/
-------------------------------------------------------------------------
If you found my response helpful, please consider selecting "Accept as Solution" and marking it as "Helpful." This not only supports me but also benefits the community.
Regards
Runjay Patel - ServiceNow Solution Architect
YouTube: https://www.youtube.com/@RunjayP
LinkedIn: https://www.linkedin.com/in/runjay
-------------------------------------------------------------------------