Scoped application reading from a global table with caller restriction
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-13-2022 05:14 AM
Our scoped application wants to read from the 'sysevent' table which is in the global scope and has caller access set to caller restriction. Since the scoped application cannot read directly, we have created a script include in the global scope that reads from the 'sysevent' table and returns the result back to the scoped application. Is this a correct approach to read from a global table with caller restriction ? Please suggest any other approach if possible.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-13-2022 05:21 AM
Hi MK,
That's the right Approach!!
Check the sysevent table entry. Enable the can read permission.
Mark my answer correct & Helpful, if Applicable.
Thanks,
Sandeep

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-13-2022 08:58 PM
Hi MK,
Any update to this ?Any follow-up required? if not
Kindly mark the answer as Correct & Helpful both such that others can get help.
Thanks,
Sandeep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-13-2022 06:07 AM
Yes this is the correct approach.
Changing the sysevent table's 'Application Access' attributes requires you to rebuild the cache in order for the changes to take place. Depending on how large your production instance is, this might not be desired.
If you still go for the changes in the Application Access, make sure you do a gs.invalidateCache() in a background script (global scope) with Record for rollback = false.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-29-2023 01:18 PM
If find the whole concept of Write Only to be utterly nonsensical. There is a function gs.eventQueue() that lets me create an event, but no function that allows me to read back information regarding the events I created?