- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2020 02:04 PM
Hello,
Is there a way to set a scoped system property from the Global scope (using gs.getProperty)?
I already tried setting it through a scoped API call.
Error: Not allowing update of property: x_scope_mine.my_property_123.
Thanks!
Solved! Go to Solution.
- Labels:
-
Scoped App Development

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2020 05:46 PM
Thanks for the update Drc1234.
Let me know if that answered your question. If so, please mark my response as correct so that others with the same question in the future can find it quickly and that it gets removed from the Unanswered list.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2020 03:02 PM
The system properties table itself prevents the cross-scope write operation. You would have to change the application - all scopes - write option on the table to directly get around this. To indirectly get around this, you can in your Test application make a 'setProperty' api available to other scopes.
Regards,
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2020 03:23 PM
Thanks, I read that in another post and I tried the second option (first one isn't possible in my case)... It didn't work.
I wonder if I'm missing something.. the script include is already available from all application scopes and has a method I'm calling to set the property.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2020 03:31 PM
Hi Drct,
Just to make sure I am following the thread..Are you trying to update a system property (**Created in a different scope) from a global scope. Please confirm.
- Pradeep Sharma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2020 03:51 PM
Hello Pradeep,
Yes, that's correct. I tried setting it through a script include inside the scoped app (called via GlideAjax). It only works when calling it from the same scope (not with Global scope).
Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2020 03:53 PM
I just tried via background script (global scope ) and it worked without any issues i.e using gs.setProperty