I am writing a scripts that appends records in several FC and some of them have additional fields because the schema was modified.
Can I use this kind of Python script with "NO_TEST" when I copy the same FC but the new version has more fields than the old one ?
taget_layer is the new version of source_layer but in several cases it has additional fields.
fieldmappings = arcpy.FieldMappings()
#Like when you manually choose a layer in the toolbox and it adds the fields to grid
arcpy.Append_management(append_laye, target_layer, 'NO_TEST', ffieldmappings)