Widget wording not changing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2025 04:32 AM
Hi all, I am trying to amend the wording of one of the widgets. I have located the correct widget and made the changes - However the changes are not reflecting when I unit test - see below images
Correct widget server script:
I have changed the track message to include 'My tickets' instead of 'requests' - but the widget is still showing 'requests'
How do i resolve this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2025 04:25 AM
I've just had a quick look at some of our OOB cat item widgets, and noticed that whilst m.trackMsg is defined in the server script, it is not actually utilised in the HTML. It is likely that this is the same for you, so changing the message isn't actually doing anything.
I would suggest looking at where m.displayMessage is defined and try amending this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2025 06:05 AM
I see and if the m.displayMessage isn't in the server script for me to amend or anywhere else within the actual widget - is it possible I am looking at the wrong widget? or would this be the same cascaded throughout all the ones mentioning 'requests' within the gs.getMessage.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2025 10:17 AM
if this is not defined is there a way I can add it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2025 03:05 AM
did you add the cloned widget to the correct page and then test?
Don't perform unit testing directly at widget level.
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2025 09:23 AM
Hi yes I have added the clone widget onto the correct page - but still no changes