We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Change label in field from another table

Lbec
Tera Expert

Hello good day, I have the following inconvenience.
Within my form I call fields from another table through the dot connotation.

find_real_file.png
I would like to change the label since it is not representative, but when I change the label within the form design and then save, although it simulates saving, it does not take the changes, do you know how I can do this?

find_real_file.png find_real_file.png

1 ACCEPTED SOLUTION

Chetan Mahajan
Mega Sage

Hi Lbec,

              You can change label by use onLoad () client script to change lable name, below is the example.  

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

You can check below thread, 

https://community.servicenow.com/community?id=community_question&sys_id=561093e5dbdcdbc01dcaf3231f9619dc&view_source=searchResult

 

Kindly Mark correct/helpful if it works for you 

View solution in original post

3 REPLIES 3

Chetan Mahajan
Mega Sage

Hi Lbec,

              You can change label by use onLoad () client script to change lable name, below is the example.  

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

You can check below thread, 

https://community.servicenow.com/community?id=community_question&sys_id=561093e5dbdcdbc01dcaf3231f9619dc&view_source=searchResult

 

Kindly Mark correct/helpful if it works for you 

it worked, thank you very much!!

Morgana Spiliot
Kilo Explorer

Hey I'm for the primary time here. I found this thread and finding It really helpful https://community.servicenow.com/community?id=community_question&sys-gosloto_id=b8db8788db43091039445ac2ca961971 & it helped me out a lot. I hope to present something back and help others like you helped me. Can anyone guide me more about this thread https://community.servicenow.com/community?id=community_lunchtime-question&sys_id=dfa6bf94dbc38d10fd8d2b69139619d5. I am going to bookmark this. Thanks