laptop and a wrench

Erro

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 do Erro BUG-000166943
EnviadoApril 23, 2024
Última ModificaçãoJune 25, 2024
Aplica-se àArcGIS API for Python
Versão encontrada2.2.0
Sistema OperacionalWindows OS
Versão do Sistema Operacional10.0
StatusWill Not Be Addressed

Informações Adicionais

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

Solução Provisória

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

Etapas para Reproduzir

ID do Erro: BUG-000166943

Software:

  • ArcGIS API for Python

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download