Employee Center Header Widget Invalidating Restricted Caller Access Records
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2022 09:36 AM
We've built a new Employee Center portal and cloned the Header|Footer to a new widget. When trying to write a simple gs.addInfoMessage("Arf " + data.top.menu) after line 59 in the server script, the portal throws error messages.
These 3 Restricted Caller Access Privileges become invalidated.
After setting them back to 'Allow", the portal works again. Does anyone know what could be triggering this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2022 10:19 PM
This will happen of any change is done to the widget whether it is in server side, client or html.
As a developer I can understand that this can become frustrating when you have to make multiple changes and test then multiple times but this is how it works.
Maybe you can use idea portal to raise this as an idea so that servicenow can think of an alternate easy way for us developers to handel this.
Please mark the answer helpful/correct if this helps.
Raghav
MVP 2023