laptop and a wrench

Bogue

Unable to upload a service definitions in an existing folder other than the root folder in ArcGIS Server from ArcGIS Pro using a Python script.

ArcGIS GIS Server
Numéro d’ID de bogue BUG-000158771
EnvoiJune 2, 2023
Dernière modificationAugust 7, 2024
S’applique àArcGIS GIS Server
Version trouvée10.9.1
Système d’exploitationWindows Server
Version du système d’exploitation2016 64 Bit
StatutNon-Reproducible

Informations supplémentaires

When specifying parameters for the Upload Service Definition tool, ensure optional arguments are skipped by either using empty strings or using keyword arguments: https://pro.arcgis.com/en/pro-app/latest/arcpy/geoprocessing_and_python/using-tools-in-python.htm

Solution de contournement

Specify the folder from ArcGIS Server while publishing the service definition file from ArcGIS Pro, and change the parameter 'inFolderType = FROM_SERVICE_DEFINITION' in the Python script.

Étapes pour reproduire

ID de bogue: BUG-000158771

Logiciel:

  • ArcGIS GIS Server

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement