I want to change the name of a Label, but only on one Change Form, (Standard). UI Policy looks my best bet.

roytolley
Kilo Contributor

On the ServiceNow instance, I have made a change to one Label name "Requested by", but this has filtered through to all the Change forms (Normal, Standard and Emergency)

I only want to change the Standard Forms. Is UI Policy the route and if so, how? I am very new to ServiceNow (5 days) and have no scripting skills. Help!

find_real_file.png

3 REPLIES 3

engstewart
Kilo Guru

Roy,



I also have no scripting skills but I think you may want to look at entering an override reference qualifier in a Dictionary Override. Good luck!


roytolley
Kilo Contributor

Unfortunately, that didn't do the trick. Thanks anyway.


Look at g_form.setLabelOf



Write all this as a single onload script



function onLoad() {


      changeLabels();


}



function changeLabels() {


      g_form.setLabelOf('u_my_field','this is the new label');


}



then you can call the changeLabels function from an onChange script (so say on the change type field)