illegal access to private script include: caller not in scope
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-03-2024 07:36 AM - edited ‎04-03-2024 07:36 AM
Any solution or reason of it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-03-2024 07:45 AM - edited ‎04-03-2024 07:49 AM
You need to set this script include ApprovalAdaptiveCardHelper to "All Application Scopes" in order to be called from other application (which doesnt have cross scope privileges obviously now).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-03-2024 09:08 AM
Hi,
But the same functionality is working in another instance And editing the out of the box functionality will not be the best approach.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-03-2024 10:59 AM
Have you checked sys_scope_privilege table if some records are pending approval? State should be Allow. If there are not - then create new one - from calling app to the called app for script includes and set it to Allow. This should do the trick I suppose
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-03-2024 10:31 PM
Yes, after opening sys_scope_privilege table, that particular record status is allowed.
Still the issue arises.
Cheers,