Unable to change Label name of "Service" in incident form

ServiceNow10sun
Giga Guru

Hi All , 

 

I  am trying to change column label name of Service field in incident  which is inherited from Task table.  Any changes to this field in incident field is reflecting in change request, problem table as well . Please suggest  there is any option that i can change the field label  name of Service .  i have tried this  " Override display value"  but it didnt worked. 

 

Please suggest 

 

ServiceNow10sun_0-1710168355740.png

 

1 ACCEPTED SOLUTION

ServiceNow10sun
Giga Guru

Using the below link i got solution and it worked . 

 

https://www.servicenow.com/community/developer-forum/how-to-change-extended-field-label-without-affe...

 

Label field in the configure dictionary. 

 

View solution in original post

6 REPLIES 6

swathisarang98
Giga Sage
Giga Sage

Hi @ServiceNow10sun ,

 

You can refer the below link,

https://docs.servicenow.com/bundle/washingtondc-platform-administration/page/administer/data-diction... 

 

Please mark this comment as Correct Answer/Helpful if it helped you.

Regards,

Swathi Sarang

shyamkumar VK
Kilo Patron

@ServiceNow10sun ,

check this below link it has the solution

https://www.servicenow.com/community/developer-forum/how-to-change-extended-field-label-without-affe....

 

Regards,

Shyamkumar

 

Please mark this as helpful and accept as a solution if this resolves your Ask.
Regards,

Shyamkumar

Sumanth16
Kilo Patron

Hi @ServiceNow10sun ,

 

Try deleting the old Label record and creating a new one. Or just create a new one on a child table (eg, cmdb_ci).

 

Labels are on the sys_documentation table.

 

I have fixed weird issues with labels by doing this before.

 

If I could help you with your Query then, please hit the Thumb Icon and mark it as Correct !!

 

Thanks & Regards,

Sumanth Meda

Community Alums
Not applicable

Hi @ServiceNow10sun ,

You can't change the name. 

You can change the label using a script similar to this: 

changeRecord("task", "short_description", "New Short Description Label");

function changeRecord(tableName, fieldName, newLabel){
  var gr = new GlideRecord("sys_dictionary");
  gr.addQuery('table',tableName);
  gr.addQuery('element',fieldName);
  gr.query();
  while(gr.next()){
    gr.setValue('column_label',newLabel);
    gr.update();
  }
}