- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2019 02:53 PM
Our team cloned the OOTB HRK Banner widget into our custom scope and is currently making edits. When we tried to view in our test page, we encountered an error message saying:
Execute operation on script include 'hr_PortalContent' from scope 'Custom' was denied. The application 'Custom' must declare a cross scope access privilege. Please contact the application admin to update their access requests.
We went to the Restricted Caller Access Privileges table and set the Status to Allow and it loads fine. However, the minute we make a change to the code, reload, and try to view again, the Status changes to Invalidated. This has happened about a dozen times now and it's quite frustrating. Is there a reason why the Status of this keeps changing? How can we change the Status to always be Allow?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2019 10:33 PM
Hi @Yundlu,
I can confirm that this is expected behavior by design i.e anytime you make a change to the code, the status will be flipped back to invalidated so that you can review the new changes and approve it again.
-Pradeep Sharma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2022 12:00 PM
We decided to live with it. I did find a way to quickly reset the RCAPs when making changes to the widget but it's still a pain. Its only when you make changes to the widget, not when you are testing. You as an org with your team could interrogate each target being tripped and set the caller access to none, but that may not be recommended.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2024 12:02 AM
I'm actually really condidering doing a business rule, that sets the one rule always back to allowed.. its really annoying.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2024 06:56 AM
This has come up again for me and I got tired of trying to code and then with each save, reset 4 different rcaps in 2 different scopes, very very annoying. So I wrote a script include in each scope with simple gliderecords to reset the rcaps. And then wrote a fix script in my scope to call the 2 script includes in other scopes calling the functions. A bit of work to sort out, but now that I did it, very helpful. I know I know, someone may post that this is not best practice, but this is coding in my Sandbox environment and these utils will not go up beyond my dev env.