Bug
| Bug-ID-Nummer | BUG-000126272 |
|---|---|
| Eingereicht | October 24, 2019 |
| Zuletzt geändert | July 21, 2025 |
| Gilt für | ArcGIS Pro |
| Gefunden in Version | 2.4.2 |
| Betriebssystem | Windows OS |
| Betriebssystemversion | 10.0 |
| Behoben in Version | 2.5 |
| Status | 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.
Bug-ID: BUG-000126272
Software:
Unterstützung durch ArcGIS-Experten anfordern
Esri Support App herunterladen