laptop and a wrench

Error

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
Número de ID del error BUG-000166943
EnviadoApril 23, 2024
Última modificaciónJune 25, 2024
Relacionado conArcGIS API for Python
Versión encontrada2.2.0
Sistema operativoWindows OS
Versión de sistema operativo10.0
EstadoWill Not Be Addressed

Información adicional

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

Solución alternativa

  • 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.

Pasos para reproducir

ID del error: BUG-000166943

Software:

  • ArcGIS API for Python

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga