ArcGIS API for Python is unable to access hosted feature layers in a portal with Integrated Windows Authentication (IWA) configured, unless the layer is shared with 'Everyone'.
上次发布: July 18, 2019ArcGIS API for Python
漏洞 ID 编号
BUG-000109779
已提交
November 27, 2017
上次修改时间
June 5, 2024
适用范围
ArcGIS API for Python
找到的版本
1.2.4
操作系统
Windows OS
操作系统版本
7.0 64 Bit
修正版本
N/A
状态
Fixed
此漏洞已得到修复。 有关详细信息,请参阅“版本修复”和“其他信息”(如果适用)。
附加信息
This issue is fixed in the 1.2.5 update.
解决办法
Share the hosted feature layer item to 'Everyone'.ORUse the built-in authentication with Portal for ArcGIS:import arcgisfrom arcgis.gis import GISuser = "username"password = "password"url = "http://webadaptorhost.domain.com/webadaptorname"gis = GIS(url, user, password)fs = gis.content.get('InsertHostedFeatureServiceItemID')print (fs.layers)