- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2020 02:01 AM
Hi,
i'm facing this issue while creating new client script it shows this message then how to resolve this problem please help me .
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.
Solved! Go to Solution.
- Labels:
-
Personal Developer Instance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2020 02:08 AM
Hi,
On the client script form, you can personalize the form and bring the isolate script flag on the firm, then you can alter it per script basis.
Alternatively you can find your client script on the list view, and just personalize the list to bring the isolate script flag on the list, and change it for the script you need.
-Anurag
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2020 02:08 AM
Hi,
On the client script form, you can personalize the form and bring the isolate script flag on the firm, then you can alter it per script basis.
Alternatively you can find your client script on the list view, and just personalize the list to bring the isolate script flag on the list, and change it for the script you need.
-Anurag
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2020 02:08 AM
for your client script in order for DOM to work
1) Ensure Isolate Script Field is set to false
2) This field is not on form but from list you can make it false
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader