- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2023 11:09 PM
I would like to know how to change the title of a checklist.
From what I have been able to find, OOTB does not currently provide this functionality.
I know that Servicenow does not recommend it,
I would like to change the title of the checklist with DOM manipulation.
Can someone please provide me with a Script for the modification?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2023 11:29 PM
Hi
it is possible using a client script with the following JQuery selector code:
Maik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2023 12:07 AM - edited 12-18-2023 12:11 AM
Hi @k_47
The Solution from Maik Skoddow should work. Just make sure the Isolate Script checkbox deactivated.
Isolate Script: New client scripts are run in strict mode, with direct DOM access disabled. Access to jQuery, prototype, and the window object are also disabled. To disable this on a per-script basis, configure this form and select the Isolate script check box. To disable this feature for all new globally-scoped client-side scripts set the system property glide.script.block.client.globals to false.
Cheers,
Tai Vu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2023 12:07 AM - edited 12-18-2023 12:11 AM
Hi @k_47
The Solution from Maik Skoddow should work. Just make sure the Isolate Script checkbox deactivated.
Isolate Script: New client scripts are run in strict mode, with direct DOM access disabled. Access to jQuery, prototype, and the window object are also disabled. To disable this on a per-script basis, configure this form and select the Isolate script check box. To disable this feature for all new globally-scoped client-side scripts set the system property glide.script.block.client.globals to false.
Cheers,
Tai Vu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2023 12:11 AM
Thank you to everyone who responded.
I was able to do it by setting Isolate Script checkbox deactivated in the script you mentioned.