Field Label Change

Koki
Tera Contributor

Is it possible to change the "Column label" and "Column name" of an existing table in ServiceNow (a table that has not been extended)?

For example, I want to change the "Column label" and "Column name" of the "purchase_date" field in the table [cmdb_ci_ip_router], but I can't enter them.

Is it possible to do this without an extension?

1 ACCEPTED SOLUTION

Anil Lande
Kilo Patron

Hi,

You cannot change column name of any existing column (custom/OOB).

However you can change Labels.

If you want to change Labels for Base table in extended table:

1. Open Dictionary of that field.

2. Scroll down to Labels related list

3. Add new record for your child table and add Label of your choice.

 

Thanks,

Anil Lande

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande

View solution in original post

6 REPLIES 6

Anil Lande
Kilo Patron

Hi,

You cannot change column name of any existing column (custom/OOB).

However you can change Labels.

If you want to change Labels for Base table in extended table:

1. Open Dictionary of that field.

2. Scroll down to Labels related list

3. Add new record for your child table and add Label of your choice.

 

Thanks,

Anil Lande

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande

Koki
Tera Contributor

Thank you.

I assumed that it would be rewritten directly from the fields in the form, and since that was not possible, I thought it was impossible.

That was helpful, thanks.

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

As mentioned by Anil you can change the label but not the column name

OR

You can use onLoad client script to change the label of the field on your table

function onLoad(){
	g_form.setLabelOf('field_name', 'Your New Label');
}

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

 

So there is a scripted way to do it.


It was very helpful.
Thank you.