laptop and a wrench

漏洞

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
漏洞 ID 编号 BUG-000158771
已提交June 2, 2023
上次修改时间August 7, 2024
适用范围ArcGIS GIS Server
找到的版本10.9.1
操作系统Windows Server
操作系统版本2016 64 Bit
状态Non-Reproducible

附加信息

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

解决办法

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.

重现步骤

漏洞 ID: BUG-000158771

软件:

  • ArcGIS GIS Server

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项