laptop and a wrench

漏洞

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
漏洞 ID 编号 BUG-000166943
已提交April 23, 2024
上次修改时间June 25, 2024
适用范围ArcGIS API for Python
找到的版本2.2.0
操作系统Windows OS
操作系统版本10.0
状态Will Not Be Addressed

附加信息

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

解决办法

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

重现步骤

漏洞 ID: BUG-000166943

软件:

  • ArcGIS API for Python

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项