how to enable syntax highlighting and script formatting in servicenow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
When I open any script-related page in ServiceNow—such as Script Includes, Client Scripts, or Business Rules—the code appears only in black and white, and the Format Code button does not work. The script fields display as all grey text, and toggling the editor has no effect. Additionally, when I open the Script Include list, the filter and search options are not functioning. Similar issues occur on other lists, like the System Properties list. Furthermore, the right-click functionality is broken across all pages; normally, right-clicking shows options like Save or Insert, but these options are not appearing. How can I resolve this issue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi @saikumarkak ,
This looks platform issue.
Just delete the cache from your instance by using cache.do and logout, and relogin after closing the browser.
If this doesn't work, then inspect and check error in the browser console.
Regards,
Vishal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
17 hours ago
Hi @saikumarkak ,
Verify the system property "glide.ui.javascript_editor" is set to true to show modern UI editor.
Thanks
Anand
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
17 hours ago
@ Anand2799,
Thanks for your reply.
Here, my main concern is i can't even search that property in system properties table. because that filter option or search function by name both are not working not only those two I can't even see the options when I right click. I can't even see total how many system properties are included. this issue is not only on system properties table also in client scripts, Business rules, UI actions etc....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
13 hours ago
Hi @saikumarkak ,
As @Vishal_Jaiswal suggested, try clearing cache from instance.
In addition, also clear cache from your browser, close and reopen your browser.
You can also try it in another browser OR even restart your laptop.
If any of these doesn't resolve your issue and if it's a customer instance create a HI case if everyone facing same issue.
