"glide.script.block.client.globals" error

nalamothu16593
Mega Contributor

Good day All,

I created UI action button in my personal instance(London version). It's working fine.

Same button i created in another instance(London version) at the time i face some error like in the below one. 

Error:- 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.

 

 Both instances are recently updated to London.

I tried the below solution also but no use.

find_real_file.png

Any one having idea regarding on this error. Please help me!

 

Regards

Raj

 

 

 

 

1 ACCEPTED SOLUTION

Alikutty A
Tera Sage

Hello,

There is an Isolate script field on the UI Action, you need to add it on form layout and set its value to true or modify its existing value to execute DOM scripts in London.

find_real_file.png

Thanks!

View solution in original post

4 REPLIES 4

Alikutty A
Tera Sage

Hello,

There is an Isolate script field on the UI Action, you need to add it on form layout and set its value to true or modify its existing value to execute DOM scripts in London.

find_real_file.png

Thanks!

Harsh Vardhan
Giga Patron

just want to add here,

even if you will try on client script you  need to disable "Isolate Script" field to false.

 

adding article link here.

 

https://hi.service-now.com/kb_view.do?sysparm_article=KB0694479

Community Alums
Not applicable

Hello,

The knowledge article link is telling me I am unauthorized.  Any idea why?  This could be very helpful to me.

Bhagyashri Sort
Kilo Guru

Hi,

I am facing the same issue while UI action creation in Madrid version. I tried the above solutions.

find_real_file.png