Solved! Go to Solution.
I am wanting to be able to, in an automated fashion through a Model or other means, rename a field in an attribute table once the dataset is created.
I have read in earlier versions of ArcMap, the only way to "rename" a field would be to add the new field, copy over the data, and delete the old field, and this functionality was added to 10.x whereby you can manually rename a field using ArcCatalog. However, I'm wanting to rename a field within a Model.
There's an older article at http://ideas.arcgis.com/apex/ideaView?id=0873000000087wgAAA which indicates this functionality at one time did not exist, but now that you can do it manually, did Esri implement the ability to do it using some tool or other means?
This is the only help I see on the subject and it only applies to manually renaming a field through ArcCatalog properties.I was afraid of that, but wanted to run it by the forums to see if there was anything I overlooked.
The historic workaround to renaming a field is to create a new field with the name you want, calculate its value equal to the original field, and then delete the original field. All possible in python.Thanks, Jim for the info -- that's probably the route I will take. It won't take too many more clock cycles to do the create/copy/delete field approach; I just wanted to shorten the process, I guess...
Regards,
Jim
This is the only help I see on the subject and it only applies to manually renaming a field through ArcCatalog properties.Thanks for your help too, Richard. I think you helped me out on here not too long ago...
Alter Field (Data management) will enable you to change the field names and aliases. I used it in ArcGIS version 10.2 and higher.