Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to Changing Element in documentation record

Nakata1
Tera Contributor

Hi All,

I want to change the Element Name.
Is there any good way?

find_real_file.png

Thanks.

3 REPLIES 3

The SN Nerd
Giga Sage
Giga Sage

Element is the field name that the Field Label refers to. 

Once a field is created, you can't change the field name.

If you want to change the Label of a different field, go to that dictionary record and create the label from there.

What exactly are you trying to achieve?


ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022

To add to the above, if you want to change the Field name - you can't.

You'll have to recreate your field with the desired name.


ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022

Hi Paul,
 
Now, when outputting as a JSON file as shown below, it is output with the Element field name.
 
Outputting JSON FILE 
"Element Field Name": {
  "link": "https://aaaaaaaaa.service-now.com/api/now/table/sys_userxxxxxxxx/",
  "value": "xxxxxxxxxxxxxxx"
 
However, I want it to be output with the Label field name in the image above.
So I was thinking about changing the Element field.
Is there any specific good way?
Regard