AnsweredAssumed Answered

Append tool not honoring common fields

Question asked by MollyKFoley on Feb 7, 2019
Latest reply on Feb 13, 2019 by dougbrowning

I am using a FGDB feature class that has a field called "MgmtTractID" of string type. It has the exact same properties and name as a field in my feature class in an SDE geodatabase. Unfortunately, the attributes from MgmtTractID in my FGDB will not transfer to the SDE MgmtTractID field. I'm not sure why, if I use the Append tool (with selections on my FGDB feature class) in the GUI, it works fine. I use "NO_TEST" because some of the fields aren't common between the two feature classes. I have also checked with a search cursor that my feature layer contains the values I would like to transfer.

 

arcpy.Append_management(mgmtTractFL, db_mgmtTractFC, 'NO_TEST')

 

The documentation for the Append tool states this:

Map layers can be used as Input Datasets. If a layer has a selection, only the selected records (features or table rows) are used by the Append tool.

 

So why doesn't it work?

Outcomes