In the ArcGIS Pro 2.2 Python window, the CreateWebLayerSDDraft and getWebLayerSharingDraft methods do not provide specific error messages when the user is not signed in to ArcGIS Online or the ArcGIS Enterprise portal.
上次发布: August 23, 2018ArcGIS Pro
漏洞 ID 编号
BUG-000115984
已提交
August 8, 2018
上次修改时间
May 8, 2025
适用范围
ArcGIS Pro
找到的版本
2.2
操作系统
Windows OS
操作系统版本
10.0 64 Bit
状态
As Designed
经开发团队审核,已确定此行为符合设计。 有关详细信息,请参阅“其他信息”部分。
附加信息
The CreateWebLayerSDDraft function is deprecated. Update the scripts to use the getWebLayerSharingDraft method.
getWebLayerSharingDraft can also be used to create an offline Service Definition Draft (.sddraft) file, which does not need any connection to the portal. Due to this reason, there is no error if not signed in to ArcGIS Online or ArcGIS Enterprise. Please check this sample for more details: https://pro.arcgis.com/en/pro-app/latest/arcpy/sharing/featuresharingdraft-class.htm#GUID-E1849B46-5D69-4D7F-9976-545E8E982BBD