laptop and a wrench

Bug

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

Last Published: August 19, 2020 ArcGIS Pro
Bug ID Number BUG-000103599
SubmittedMarch 13, 2017
Last ModifiedJune 5, 2024
Applies toArcGIS Pro
Version found1.4
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusNon-Reproducible

Additional Information

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.

Steps to Reproduce

Bug ID: BUG-000103599

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