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.