Sharing a service to a group with the 'Shared update' option fails through ArcGIS API for Python.
Portal for ArcGIS
漏洞 ID 编号
BUG-000158847
已提交
June 6, 2023
上次修改时间
May 31, 2025
适用范围
Portal for ArcGIS
找到的版本
10.9.1
操作系统
Windows Server
操作系统版本
2019 64 Bit
修正版本
2.3.0
状态
Fixed
此漏洞已得到修复。 有关详细信息,请参阅“版本修复”和“其他信息”(如果适用)。
附加信息
In ArcGIS API for Python 2.3.0, the Python API streamlined the sharing of items using the SharingManager method, deprecating the old share method.
gis: GIS = GIS(profile=profile)
item: Item = gis.content.get("< item id>")
item.sharing.sharing_level = SharingLevel.ORG
item.sharing.groups.add()