- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-19-2024 04:36 PM
I currently have a scoped application that I built. The script include for this app is also under the same application scope. During its execution, the script include tries to talk to one of the tables in the Global scope and tries to perform a delete action on this table. Due to cross scope restrictions, the delete operation fails.
I want to change the app scope to Global, delete the record and go back to my original app scope.
I want to achieve this in the script itself and not modify any OOTB access controls on the table or create a cross scope record.
Can this be done? Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-19-2024 05:43 PM
To my knowledge, I can say giving cross scope access to delete / creating a script include in global scope are the best approach.
else you can try this, but this is not recommended. You can try to create a flag on the table where you want to delete the record, create a business rule to delete when the flag is true and from the script include update the flag.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-19-2024 05:50 PM
Its a work around but not recommended. As you can see updating and deleting record for a small scale of records it won't be a much issue but in large scale it isn't an efficient way.