Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Client Script field is disabled

AymenBM
Tera Contributor

Hello,

I am getting this message when I try to create a new client script:

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.

 

I have added the "Isolate Script" field but I have always the same problem (see attached).

Can you help me please !

 

Thank you very much for your help!

1 ACCEPTED SOLUTION

Yes you need admin role that's what i was referring to.

If the issue is solved. can you please mark my answer as correct.

Thanks.

View solution in original post

15 REPLIES 15

I don't find the link, could you tell me where please is it please ?

Please see the print screenfind_real_file.png

 

Is it happening only for this client script or for all the client  scripts?

Thanks.

 

AymenBM
Tera Contributor

For all, every time I create a client script, i have the same problem

Can you go from the native UI to the client script:-

Do the below:-

In navigation type Client script:-

find_real_file.png

Then from the list of Client scripts opened open anyone any check if the script portion is editable or not. 

Please mark answer correct/helpful based on Impact

AymenBM
Tera Contributor

Saurav,

How can I get to that menu, please? 

I have been directly forwarded to App Engine Studio when I created clicked on start building. 

Thank you.