- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2019 05:12 AM
Hi All
I am trying to call script include from Module arguments but it does not get called.
Is there anyother way to call script include from arguments
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2019 07:16 AM
just confirming here,
script include has created in scoped application ?
if yes then add scope before the script include
example:
&sysparm_fixed_query=company=javascript:gs.getUser().getCompanyID()^location.sys_idINjavascript:new <scope>.getmappedlocation().getmappedlocation();

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2019 07:16 AM
just confirming here,
script include has created in scoped application ?
if yes then add scope before the script include
example:
&sysparm_fixed_query=company=javascript:gs.getUser().getCompanyID()^location.sys_idINjavascript:new <scope>.getmappedlocation().getmappedlocation();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2019 07:17 AM
Is SI marked as client callable?
I call a SI from URL
Ex https://ddffdh.service-now.com/sn_customerservice_case_list.do?EXCEL&sysparm_query=javascript:generateGlobalExportFilter('data-allcases')&sysparm_view=csp_exportview
SI generateGlobalExportFilter with the same name function
Marked as client callable, accessible from all scopes
function generateGlobalExportFilter(widget_id, target_user_id) {
}
Vinod Kumar Kachineni
Community Rising Star 2022