- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2024 07:50 AM
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
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2024 10:37 AM
Using the below link i got solution and it worked .
Label field in the configure dictionary.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2024 08:07 AM
Hi @ServiceNow10sun ,
You can refer the below link,
Please mark this comment as Correct Answer/Helpful if it helped you.
Regards,
Swathi Sarang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2024 08:19 AM
check this below link it has the solution
Regards,
Shyamkumar
Regards,
Shyamkumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2024 08:30 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2024 08:34 AM
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();
}
}