laptop and a wrench

Bug

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

Zuletzt veröffentlicht: August 19, 2020 ArcGIS Pro
Bug-ID-Nummer BUG-000103599
EingereichtMarch 13, 2017
Zuletzt geändertJune 5, 2024
Gilt fürArcGIS Pro
Gefunden in Version1.4
BetriebssystemWindows OS
Betriebssystemversion10.0 64 Bit
StatusNon-Reproducible

Zusätzliche Informationen

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.

Schritte zur Reproduzierung

Bug-ID: BUG-000103599

Software:

  • ArcGIS Pro

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln