AnsweredAssumed Answered

How to use Field Mappings

Question asked by boyle.matt on Sep 14, 2015
Latest reply on Sep 15, 2015 by mahtab.gis

I'm trying to understand how to use the FieldMappings object in arcpy, but am getting confused.

 

I have two tables, an input table and a target table.  I'm trying to use the Append tool to load data from the input table into the target table.  I have two fields within each table that need to be mapped.

 

Input

NEAR_FID

BUFF_DIST

 

Target

WellOID

Distance

 

Mapping should be:

NEAR_FID = WellOID

BUFF_DIST = Distance

 

Any suggestions on how to map these fields using the FieldMappings object would be greatly appreciated!

Outcomes