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
10-29-2020 06:46 AM
Hi,
I am getting same error. I am working on ServiceNow New York version. I added property and uncheck "Isolate script" field value. but still client script is not working. please suggest me solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2021 07:38 PM
Hi,
I am also facing similar issue.
Followed below steps
Steps:
- I have added "glide script block client globals" system property in global scope.
- Added 'Isolated field" and made it 'false' in client script.
Client script contains below code which is not working.
Script:
str.includes('chat');
----------------------------------------------------------------------Client script is working fine for 'Admin user'.It is not working for 'service desk' role users. As per my requirement,string operation 'includes' function should work for service-desk user.Due to this restriction,it is not working as expected.Please help me on this.
Thanks,
Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2022 08:23 PM
Hello,
I'm newly Created PDi for Best Practice. I have written onLoad script while perform not been Reflected and error as foolows
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.
Could you please help me out to avaoid and step by process