client script error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
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. site:www.servicenow.com
Hi im getting this error im unable run the client script can anyone help me out this. i have set the sys properties to false still im getting the same error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
Hello @Palmarp,
The message “New client-scripts are run in strict mode…” is actually just an info notice/annotation, not an error. It appears by default on new client script forms to remind you about script isolation settings.
If your client script itself isn’t working, then the issue is likely unrelated to that message.
Please share:
Your client script code, and
The scenario/trigger (onLoad, onChange, onSubmit, etc.)
so we can help identify what’s causing it not to run.
If my response helped, please mark it as the accepted solution so others can benefit as well.
Muhammad Iftikhar
If my response helped, please mark it as the accepted solution so others can benefit as well.
