Cross scope Glide Ajax calls
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2018 10:23 AM
How to call a script include of global scope from a client script of scoped app.
- I have checked that script include is in fact accessible by all scopes.
- Its Client Callable as well.
- In the below script i also tried global.space_mgmt instead of directly calling it
var ga = new GlideAjax('space_mgmt') ;
ga.addParam('sysparm_name','seat_existing');
ga.addParam('sysparm_crnt_seat',g_form.getUniqueValue());
ga.getXMLWait();
alert(ga.getAnswer());
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2018 10:53 AM
Hello Prasanna,
getXMLWait is not supported at client side in Scoped Applications. Please refer below blog for more info.
https://community.servicenow.com/community?id=community_blog&sys_id=788c66e1dbd0dbc01dcaf3231f961969
Thanks,
Pradeep Sharma