In how many methods we can call script include in client scripts??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2017 10:15 PM
- 1. In how many methods we can call script include in client scripts

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2017 10:18 PM
You need to use GlideAjax to call script include from client script.
Regards,
sachin

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2017 10:19 PM
You can only use Script Includes for GlideAjax (scripts that extend GlideAjax) in Client Scripts.
Otherwise, you can use UI scripts to define classes, which has access to all the UI API.
ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2017 10:20 PM
Hello jai,
We can user GlideAjax for to call a script include from client script.
Refer the links may helpful to you.
calling script include script in to client script
https://community.servicenow.com/thread/206360
Script Includes - ServiceNow Wiki
http://wiki.servicenow.com/index.php?title=GlideAjax#gsc.tab=0
ServiceNow Commnunity MVP -2018 class.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2017 11:10 PM
Hi Jai,
There is only one way that you can call script include in client script by using GlideAjax.
More more info. please refer below links:
http://wiki.servicenow.com/index.php?title=GlideAjax#gsc.tab=0
http://wiki.servicenow.com/index.php?title=Script_Includes#gsc.tab=0
Regards,
Swapnil
PS: Hit like, Helpful or Correct depending on the impact of the response