Widget wording not changing

LJ_23
Tera Contributor

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: 

LJ_23_0-1742211038926.pngLJ_23_1-1742211074104.png

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?

14 REPLIES 14

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.

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.

if this is not defined is there a way I can add it?

Ankur Bawiskar
Tera Patron
Tera Patron

@LJ_23 

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.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi yes I have added the clone widget onto the correct page - but still no changes