Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

In the 'Resolution Information' tab, Resolution notes field to display a watermark in the Incident

nameisnani
Mega Sage

Hi Team ,

 

We have a requirement that when ever we are going to resolve the incident . In the Resolution Notes ' Below steps were followed to resolve the incident: ' This text has to be displayed has a watermark .

 

NOTE - Before Incident is submit , In the Resolution notes is should show 

 

can any one please provide any solution for this . 

 

nameisnani_0-1728457161366.png

 

 

1 ACCEPTED SOLUTION

sejal1107
Tera Guru
Tera Guru

Hi @nameisnani 

 

You can try below client script

 

var field = g_form.getControl('description'); //instead of description you can use resolution notes field
field.placeholder = "Test Placeholder"; //instead of "Test Placeholder" you can use text that you want to show

 

Screenshot 2024-10-09 at 12.55.04 PM.pngScreenshot 2024-10-09 at 12.55.16 PM.png

Please mark it helpful if it helps you 

Please check and Mark Helpful and Correct if it really helped you.
Thanks & Regards
Sejal Chavan

View solution in original post

1 REPLY 1

sejal1107
Tera Guru
Tera Guru

Hi @nameisnani 

 

You can try below client script

 

var field = g_form.getControl('description'); //instead of description you can use resolution notes field
field.placeholder = "Test Placeholder"; //instead of "Test Placeholder" you can use text that you want to show

 

Screenshot 2024-10-09 at 12.55.04 PM.pngScreenshot 2024-10-09 at 12.55.16 PM.png

Please mark it helpful if it helps you 

Please check and Mark Helpful and Correct if it really helped you.
Thanks & Regards
Sejal Chavan