Illegal Access to Private Script Include
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-13-2019 08:44 AM
I created a transform map in the CMDB integration application inside an update set. The transform map contains 2 script includes that are private to the CMDB application. All my changes were done in the application. However, the transform fails with an error of "Illegal Access to private script include. Getting called from Global scope." I didn't make any changes in the global scope though.....am I missing something here?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-13-2019 08:50 AM
Take a look at this.
https://community.servicenow.com/community?id=community_question&sys_id=a22a8f69db5cdbc01dcaf3231f96193d
Please mark my response as correct and helpful if it helped solved your question.
-Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-13-2019 08:52 AM
Thanks for the reply. I actually tried that but every time I save the script include, it defaults back to "This application scope only."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-13-2019 08:58 AM
Weird, but over the community that is the only solution everyone proposed.
Its worth waiting for some insights from other experts.
Please mark my response as correct and helpful if it helped solved your question.
-Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-09-2024 07:27 AM
There are 2 ways to update / set the Script Include Accessible From field.
1. At the time of create or 1st time Save Action of your Script Include, set the Accessible From = "All Application Scopes". Once saved this field is readonly. You cannot update.
2. Let say you have already saved but now want to change, then follow the below steps -
2.1 Download your Script Include as XML.
2.2 Open the xml in some Notepad and Update the <access> node to <access>public</access>. See print screen.
2.3 Save this and import this XML back from Script Include list.
This action will update the Accessible From = All Application Scope.
Please mark my response as correct and helpful if it helped solved your question.
Thanks.