Bogue
| Numéro d’ID de bogue | BUG-000126272 |
|---|---|
| Envoi | October 24, 2019 |
| Dernière modification | July 21, 2025 |
| S’applique à | ArcGIS Pro |
| Version trouvée | 2.4.2 |
| Système d’exploitation | Windows OS |
| Version du système d’exploitation | 10.0 |
| Version de correction | 2.5 |
| Statut | 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 de bogue: BUG-000126272
Logiciel:
Obtenir de l’aide auprès des experts ArcGIS
Télécharger l’application Esri Support