- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2019 02:49 PM
Hi ,
I am facing an issue with Cross scope error.I have attached screenshot of the error.Can some one tell me how to fix this error. I tried creating cross scope record , and checked Application access field on all User, groups and roles tables all of them to set to All application access value. I am not sure where to look for or how to fix it. Check the Cross scope record values and let me if i got any of the values wrong especially the Target Name, should i use GlideAPI or something else??
Cross scope record values::
my scoped app as a source and
Global as target scope and
Glide API:properties -- Target Name
Scriptable -- Target Type
Execute API -- Operation
but I am still seeing the same . The Whole scenario is we are using Script include(not client callable) that is written in a scoped app which contains gs.hasRole() calls in it and based on the role we are returning a query string something like 'active=true'.
if(gs.hasRole() == 'admin') { return 'abc'; }
and this script include is called from a Advance reference qualifier from the scoped app.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2019 02:54 PM
Create cross scope record like below with your scoped application
Regards,
Sachin

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2019 02:54 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2019 03:09 PM
It works thanks.