Bug
Bug ID Number | BUG-000171361 |
---|---|
Submitted | October 9, 2024 |
Last Modified | February 8, 2025 |
Applies to | ArcGIS Pro |
Version found | 3.1 |
Operating System | Windows OS |
Operating System Version | 10.0 64 Bit |
Version Fixed | 3.5 |
Status | 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.
Bug ID: BUG-000171361
Software:
Get help from ArcGIS experts
Download the Esri Support App