漏洞
| 漏洞 ID 编号 | BUG-000126272 |
|---|---|
| 已提交 | October 24, 2019 |
| 上次修改时间 | July 21, 2025 |
| 适用范围 | ArcGIS Pro |
| 找到的版本 | 2.4.2 |
| 操作系统 | Windows OS |
| 操作系统版本 | 10.0 |
| 修正版本 | 2.5 |
| 状态 | Fixed |
Remove the table and save before publishing:
search_table = mp.listTables()[0]
print("Table is ",search_table)
mp.removeTable(search_table) #REMOVE TABLE FROM PRO
print("Table is ",search_table)
prj.save()
for mp in maps:
publish_layer = mp.listLayers()[0]
arcpy.mp.CreateWebLayerSDDraft(publish_layer, sddraft, "Habitatz", 'MY_HOSTED_SERVICES', 'FEATURE_ACCESS','', True, True, False, True, False)#create sddraft
arcpy.StageService_server(sddraft, sd)
arcpy.UploadServiceDefinition_server(sd, 'My Hosted Services')
print("UPDATING LAYER")
Add the table back when needed.
漏洞 ID: BUG-000126272
软件:
获取来自 ArcGIS 专家的帮助
下载 Esri 支持应用程序