Fix Script against Scoped Applications
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2020 12:45 AM
Hi,
I have created Global Fix Script to create records in one of my scoped applications. But, I got below error.
"Security restricted: Create operation against 'x_486589_demo_scoped_application' from scope 'rhino.global' has been refused due to the table's cross-scope access policy"
Note: I have used 'update()' method to create records.
Later, I have created fix script in my scoped application then it worked.
Can anyone explain what cross-scope access policy, which is mentioned in above error?
Thanks in Advance!
Thanks,
Hema

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2020 12:54 AM
Hi Hema,
Please go through this link and let me know if you still need clarification.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2020 12:58 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2020 01:07 AM
Hi Hema,
That's expected behavior of scoped applications unless you configure below for your scoped table.
Look for System Definition >> Tables from application navigator. Look for the required table & then configure it as above.
Once done when you create a fix script in Global scope or run a script in background script in Global scope it will function without any error.
Also, if you are inserting/creating a record from a script use .insert() instead of .update()
To understand it better in detail you can check link.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2020 10:16 PM
Hi Jaspal,
Thank you for your reply. I tried after changing my custom application table settings as mentioned but, still I see same error.
And, It was my typo mistake while I was posting this question. I have used 'insert()' method to create a record.
Thanks,
Hema