- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2023 08:51 AM
Created a script include within a Scoped App, that retrieves a record from the Account and/or Contact table. Set the script include up with Accessible from = "All application scopes".
Within a Transform Map that is in the Global application, we are trying to call this script include. We are only getting 'undefined' back from the script include. Though for any Transform Map in the same scope app, this script include works fine.
I am guessing this is security issue, but not sure why a Global item would not be able to access a scoped app script include.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2023 09:00 AM
Hi @marclindsay
Call the script include using API Name like below (It includes scope in it)
var scriptInclude = new sn_vul.VulnerabilityTTRUtil();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2023 09:02 AM
Hi @marclindsay ,
Are you querying any scoped table in that script include?
Please check the configuration for those tables, go to the application access tab and make sure it is accessible from all app scopes and select the checkboxes.
If my answer has helped with your question, please mark it as correct and helpful
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2023 01:07 PM - edited 06-26-2023 01:08 PM
I have no problem querying the table directly from the scoped app. Only having this issue when using the script include.