How do you change a variables label. g_form.setLabel only works on the field label

Diana27
Tera Guru

Hi,

I changed a form label using g_form.setLabel.  I need that change to be reflected on the RITM also.  When the variable displays on the RITM it is using the original label.  How do I get the variable label to also change on the RITM when I change it on the form?

I am new to serviceNow. I've looked through all the posts and I have not been able to get anything to work.  

Thank you,

Diana

5 REPLIES 5

Diana27
Tera Guru

It seems g_form.setLabelOf is not supported in the Service Catalog.  I have put in for an Enhancement Idea if anyone is having the same issue and you would like it to be an enhancement you can up vote it here.

https://community.servicenow.com/community?id=view_idea&sysparm_idea_id=712c1f70dbcaa490b3c099ead396197e&sysparm_idea_table=x_snc_com_ideation_idea&sysparm_module_id=enhancement_requests

Thank you,

Diana