laptop and a wrench

Bug

The arcpy.FieldMap() object does not work if there is no intermediate variable to update the name property of the output field.

Last Published: March 6, 2023 ArcGIS Pro
Bug ID Number BUG-000156266
SubmittedMarch 2, 2023
Last ModifiedMay 15, 2025
Applies toArcGIS Pro
Version found3.0.3
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusAs Designed

Additional Information

This issue is as designed. The FieldMap outputField properties cannot be modified in place. The properties can only be modified by making a new variable equal to outputField, setting the variable's properties such as name and type, and then setting the field map object's outputField property equal to the variable. Clarifying updates to documentation will be made for a future release.

Steps to Reproduce

Bug ID: BUG-000156266

Software:

  • ArcGIS Pro

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options