laptop and a wrench

Bug

The arcpy.ListFields command fails when obtaining fields in layers in an inactive dataframe.

Last Published: August 25, 2014 ArcGIS for Desktop
Bug ID Number NIM093240
SubmittedJuly 19, 2013
Last ModifiedApril 2, 2025
Applies toArcGIS for Desktop
Version found10.1
Operating SystemWindows OS
Operating System Version7 64 Bit
StatusWill Not Be Addressed

Additional Information

As Designed

Workaround

Use layer.dataSource (rather than layer) as the parameter to arcpy.ListFields.

Steps to Reproduce

Bug ID: NIM093240

Software:

  • ArcGIS for Desktop

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