Catalog client script for making a variable bold is working on DEV but not on PROD
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2025 03:12 AM - edited 07-10-2025 03:13 AM
function onLoad(){
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2025 03:17 AM - edited 07-10-2025 03:17 AM
Hi @Nishitha Yedala ,
Could you please check the version of the Catalog Client Script in PROD and compare it with the one in DEV?
If both versions are the same and the issue still persists, please go ahead and raise a HI Case with the ServiceNow Support Team to help reproduce and investigate the issue further.
Pls mark my solution as accept and thumbs up if you find it helpful. It will help other users on community to find helpful response.
Regards,
Samaksh Wani

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2025 03:35 AM - edited 07-10-2025 03:36 AM
Your method is not good, Kindly refer below for workaround
Regards,
Musab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2025 05:18 AM
Thank you, I tried it but nort working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2025 03:37 AM
since you are using DOM manipulation the HTML element ID in PROD might be different.
did you check that by inspecting the page?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader