Function hasRightsTo is not allowed in scope x_aegbs_issue_mana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2021 08:05 AM
I have cloned a global widget and using it in a private scoped application but when i have added the widget into a portal page its giving error "Function hasRightsTo is not allowed in scope x_aegbs_issue_mana" to me.
I widget server side script i have a fuction with the name "hasRightsTo". please suggest how to resolve this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2021 08:22 AM
Hi Vikas,
I believe you might have cloned the form widget in your custom scope from global scope.
please clone the widget in global scope only and try to add that widget which is cloned in global scope and add it to your page .This worked for me.
Please mark helpful if this answers your question.
Thanks,
Mohith Devatte.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2021 08:38 AM
I have cloned this widget into global scop and then i came back to my custom scope and added that widget into the portal page in my custom scop, should i add this widget into the portal page while i am in global scop only?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2022 09:49 PM
Hi Vikas,
It sounds like your are running up against cross-application scope privileges, where APIs that are available from the Global scope are inaccessible from scoped apps. Chuck Tomasi has an excellent video on YouTube that discusses this issue and a way to work around it using wrapper scripts: