GlideAjax is not executing Script Include method across scope
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
34m ago
I'm facing an issue while calling a Script Include from a Client Script using Glide Ajax.
My Client Script is in the Global Scope
The Script Include is in the Customer Service Scope
Accessible from is already set to All Application Scope
Script Include is marked Client Callable = true
The GlideAjax request is visible, Script Include is getting triggered
But the function inside the Script Include is not executing.
I have already verified the following
Script Include is marked Client Callable = true
Script Include is accessible from all application scopes
In Client Script Correct Script Include name and function name are used
No Console errors
GlideAjax call is firing correctly
Still the Script Include does not executed.
Is there anything else required to call a Script Include from Global Scope When it is created under Customer Service Scope ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
14m ago
Greetings @AlwinJebakY. Would you be able to share your code here?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3m ago
Hello @AlwinJebakY ,
Please share the code so I can review it.
Apart from that, you can also try this:
The issue is that the function you are calling is not inside the Script Include’s prototype. GlideAjax only executes functions that are defined inside the prototype block.
If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and "Helpful."
This action supports both the community and me.
Regards
Raj Shinde
