漏洞
漏洞 ID 编号 | BUG-000171361 |
---|---|
已提交 | October 9, 2024 |
上次修改时间 | February 8, 2025 |
适用范围 | ArcGIS Pro |
找到的版本 | 3.1 |
操作系统 | Windows OS |
操作系统版本 | 10.0 64 Bit |
修正版本 | 3.5 |
状态 | Fixed |
Use the ArcGIS Server connection file instead of directly specifying the URL.
1. Launch ArcGIS Pro and create a new project.
2. Establish a new connection to ArcGIS Server (in a federated environment, the ArcGIS Enterprise portal credentials are used).
3. Copy the ArcGIS Server to a shorter file path directory, for example, D:/ags. (Check the current ArcGIS Server path in the catalog pane > Project > Servers).
4. Rename the ArcGIS Server connection file with a shorter name, for example, appsoporte.ags.
5. Define these parameters in the tool:
import arcpy
tbx = "D:/ags/appsoporte.ags;Utilities/PrintingTools"
print(tbx)
arcpy.ImportToolbox(tbx)
print(arcpy.PrintingTools.GetLayoutTemplatesInfo())
The tool runs without issues.
漏洞 ID: BUG-000171361
软件:
获取来自 ArcGIS 专家的帮助
下载 Esri 支持应用程序