Bug
| Bug ID Number | BUG-000171384 |
|---|---|
| Submitted | October 10, 2024 |
| Last Modified | April 9, 2025 |
| Applies to | ArcGIS API for Python |
| Version found | 2.4 |
| Operating System | Windows OS |
| Operating System Version | 11.0 64 bit |
| Version Fixed | 2.4.1 |
| Status | Fixed |
Cast the item to FeatureLayerCollection:
from arcgis.features import FeatureLayerCollection
if not item is None:
f_l_coll = FeatureLayerCollection.fromitem(item)
print(f_l_coll.layers) # this prints the layers
print(f_l_coll.tables) # this prints the tables
Bug ID: BUG-000171384
Software:
Get help from ArcGIS experts
Download the Esri Support App