laptop and a wrench

Bogue

The Field Map parameter does not honor the dependency in a Python script tool.

Dernière publication: August 19, 2020 ArcGIS Pro
Numéro d’ID de bogue BUG-000103599
EnvoiMarch 13, 2017
Dernière modificationJune 5, 2024
S’applique àArcGIS Pro
Version trouvée1.4
Système d’exploitationWindows OS
Version du système d’exploitation10.0 64 Bit
StatutNon-Reproducible

Informations supplémentaires

This issue is no longer reproducible in ArcGIS Pro 2.6. The FieldMappings parameter must be an input parameter, and set the dependency on a table or feature layer/class parameter. Load the FieldMappings parameter value with an arcpy FieldMappings object in UpdateParameters validation: def updateParameters(self): if self.params[0].value: fieldmappings = arcpy.FieldMappings() fieldmappings.addTable(self.params[0].value) self.params[2].value = fieldmappings The Field Map parameter will load and functions properly in the geoprocessing tool dialog box.

Étapes pour reproduire

ID de bogue: BUG-000103599

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