AnsweredAssumed Answered

Field alias name missing in the exported feature classes

Question asked by josefranciskj on Nov 15, 2016
Latest reply on Nov 16, 2016 by GSCUser85

I have a set of feature classes in file gdb. while exporting these to SDE via arcpy, the field names "SHAPE_Length" and "SHAPE_Area" got changed to"SHAPE.LEN" and "SHAPE.AREA" respectively.
There was alias name for both these fields in GDB which  got missed in the SDE.


I could right click on the feature class and from the properties window i can update the alias name of these fields. But the "Alter Field" tool in "Data Management Tools" fails to update the alias name for these fields.


I've a lot of feature classes and its not practical to manually update the fields.

Is there any way to preserve the field alias for these fields during the export? Or is there any other way to update the alias name programmatically.


I've used the CopyFeatures_management in arcpy to export the feature classes.


Thanks in advance.