laptop and a wrench

Bug

ArcGIS API for Python returns the error message "TypeError: create_view() got an unexpected keyword argument 'visible_fields'" when attempting to create a view from a hosted feature layer.

ArcGIS API for Python
Bug-ID-Nummer BUG-000166943
EingereichtApril 23, 2024
Zuletzt geändertJune 25, 2024
Gilt fürArcGIS API for Python
Gefunden in Version2.2.0
BetriebssystemWindows OS
Betriebssystemversion10.0
StatusWill Not Be Addressed

Zusätzliche Informationen

This is fixed in version 2.3.0+ of the ArcGIS API for Python as indicated in the issue. The API reference always points to the latest documentation. For previous versions of the API reference, please download it here: https://developers.arcgis.com/downloads/#python

Workaround

  • Create the view without using the visible_fields parameters, and use the update_definition command to set field visibility.
  • Upgrade to ArcGIS API for Python version 2.3.0.

Schritte zur Reproduzierung

Bug-ID: BUG-000166943

Software:

  • ArcGIS API for Python

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