Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

Change the default text "This template will update the record as follows" within preview template

Chenab Khanna
Tera Expert

Hi 

I want to update the default text that comes when we click preview on any template. Attached screenshot for reference.

Any help would be appreciated

11 REPLIES 11

boteeuwen
Tera Guru

To change the default preview message "This template will update the record as follows." in ServiceNow, you can use System UI Messages.

This text is handled through the sys_ui_message table, so you can override the displayed message there.


1.
Open the Application Navigator and enter sys_ui_message.list.
2.

Search for an existing record where the Key matches the preview text. If you don't find one, click New and create a new record.
3.

Fill in the fields as follows:

Key: This template will update the record as follows.

Language: en

Message: Enter the custom text you want to display, for example, "The following fields will be modified by this template:"

Make sure the Key matches the original text exactly, including capitalization and punctuation.

4.
Save the record, refresh the page, and test the template preview again. I would recommend testing this in a sub production instance first.

boteeuwen_0-1788534207369.png

 

Thanks i was able to make the changes

Also, is it possible to make it dynamic for each template may be like a short explanation of when to use which template to users?

Hi Chenab,
Can you include the dot in the key of the sys_ui_message?
I see that you entered the following in the key field: This template will update the record as follows
but you didn't include the dot at the end of the sentence: This template will update the record as follows.

Check if that works šŸ™‚

Yes i realized that just after sending the response to you. It worked!. Thank you for this.

 

I have one more ask, can we make it dynamic to change for each template?