How set the system property "glide.script.block.client.globals" to false.

Georgi Popov1
Kilo Contributor

Hello!
This is my the system property "glide.script.block.client.globals" :
find_real_file.png

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?

7 REPLIES 7

Mike Allen
Mega Sage

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.

Georgi Popov1
Kilo Contributor

Thanks, but how can i make "globally-scoped" property?

And here -> "To disable this feature for all new globally-scoped client-side scripts set the system property "glide.script.block.client.globals" to false."

In Global Properties i have't "glide.script.block.client.globals".

find_real_file.png

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

---

LinkedIn

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

Did you ever find and answer on this?  I need to do the same thing, and the how-to is way too vague...