laptop and a wrench

Bogue

When using the Merge tool in ArcPy, the field mappings are not honored.

ArcGIS Pro
Numéro d’ID de bogue BUG-000171352
EnvoiOctober 9, 2024
Dernière modificationJune 21, 2025
S’applique àArcGIS Pro
Version trouvée3.3.1
Système d’exploitationWindows OS
Version du système d’exploitation10.0 64 Bit
Version de correction3.5
StatutFixed

Informations supplémentaires

This issue is addressed in ArcGIS Pro 3.5.

Solution de contournement

In the Python notebook script, change the call to the Merge tool from arcpy.Merge_management([st_class, rc], merge_path, f_Mappings) to arcpy.Merge_management([st_class, rc], merge_path, f_Mappings.exportToString()). This uses the string version of the FieldMappings object as input to the Merge tool instead of the arcpy.FieldMappings() object and produce the expected output.

Étapes pour reproduire

ID de bogue: BUG-000171352

Logiciel:

  • ArcGIS Pro

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement