How set the system property "glide.script.block.client.globals" to false.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2019 04:29 AM
Hello!
This is my the system property "glide.script.block.client.globals" :
But in every my file on top have:
New client-scripts are run in strict mode, with direct DOM access disabled. Access to jQuery, prototype and the window object are likewise disabled. To disable this on a per-script basis, configure this form and add the "Isolate script" field. To disable this feature for all new globally-scoped client-side scripts set the system property "glide.script.block.client.globals" to false.
|
How can fix it?
- Labels:
-
Instance Configuration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2019 12:20 PM
It says in there, "globally-scoped". You are in your x_58872 scope. It should be in the global scope and application. But, it may not work. Your only path may be the Isolate script field on a client script-by-client script basis.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2019 09:59 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2019 10:49 PM
Hi there,
It looks like you have scope x_58872 activated, and than added the system property you are mentioning. Because of this, the system property is added in this scope + with a prefix.
1) Remove the system property you added.
2) Swtich to the global scope
3) Add the system property
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
---
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2020 11:12 AM
Did you ever find and answer on this? I need to do the same thing, and the how-to is way too vague...