Hello everyone,
How can I match fields that have a different names, for example the same field is called ProjNum in one FC and ProjectNumber in another.
currently I am using this source code to append one FC or Table to another.
fieldmappings = arcpy.FieldMappings()
#Like when you manually choose a layer in the toolbox and it adds the fields to grid
if arcpy.Exists (CurrentFeatureOutput):
fieldmappings.addTable( CurrentFeatureOutput)
fieldmappings.addTable(CurrentFeatureInput )
arcpy.Append_management( CurrentFeatureInput , CurrentFeatureOutput , "NO_TEST", fieldmappings)