Change label of dot walked field

saurabhsharma
Giga Contributor

Hi

I have dot walked "assigned to" field from change to change task. Now I want to change label of this "assigned to" field to "customer". When I am changing label from dictionary it's also changing label on change form.

I want that on change form it should be same as before like "Assigned to" but on change task form it should be "customer".

Please help me in same.

Thanks

Saurabh Sharma

1 ACCEPTED SOLUTION

Jace Benson
Mega Sage

Unfortunately this seems to be how it worked at one time (see sys_documentation labels containing `.`).

Now it seems you need to use a client script.  Good thing thouhg there's methods to do this in both Mobile and Desktop UIs.

Your code will look like this;

function onLoad() {
   g_form.setLabelOf('change_request.assigned_to','Customers');
}

Further Reading: https://community.servicenow.com/community?id=community_question&sys_id=561093e5dbdcdbc01dcaf3231f96...

View solution in original post

2 REPLIES 2

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi Saurabh,

 

The only option you have here is to create a custom field on Change Task Table and then populate the value via client script. 

 

-Pradeep Sharma

Jace Benson
Mega Sage

Unfortunately this seems to be how it worked at one time (see sys_documentation labels containing `.`).

Now it seems you need to use a client script.  Good thing thouhg there's methods to do this in both Mobile and Desktop UIs.

Your code will look like this;

function onLoad() {
   g_form.setLabelOf('change_request.assigned_to','Customers');
}

Further Reading: https://community.servicenow.com/community?id=community_question&sys_id=561093e5dbdcdbc01dcaf3231f96...