laptop and a wrench

漏洞

When creating group in Python API, setting the 'users_update_items' parameter to 'true' has no effect.

上次发布: May 10, 2021 ArcGIS API for Python
漏洞 ID 编号 BUG-000137253
已提交February 4, 2021
上次修改时间June 5, 2024
适用范围ArcGIS API for Python
找到的版本1.8.1
操作系统Windows OS
操作系统版本10.0 64 Bit
修正版本1.9.1
状态Fixed

解决办法

  1. Use gis.groups.create_from_dict as outlined in this tutorial, refer to, https://developers.arcgis.com/python/sample-notebooks/batch-creation-of-groups/.
  2. Create a dictionary, set the keys and values, and pass it as a parameter.
  3. Use the capabilities key and set the value to updateitemcontrol.

The dictionary is saved to a CSV file with its keys and values:

access,description,isFav,isInvitationOnly,isViewOnly,snippet,sortField,capabilities,sortOrder,tags,thumbnail,title

private,Central Admin,FALSE,TRUE,TRUE,Central Admin,title,updateitemcontrol,asc,"Central, Admin, Central Admin",,CentralAdmin.

Use the two lines in a CSV file together with the tutorial linked above.

重现步骤

漏洞 ID: BUG-000137253

软件:

  • ArcGIS API for Python

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项