Error
Número de ID del error | BUG-000171361 |
---|---|
Enviado | October 9, 2024 |
Última modificación | February 8, 2025 |
Relacionado con | ArcGIS Pro |
Versión encontrada | 3.1 |
Sistema operativo | Windows OS |
Versión de sistema operativo | 10.0 64 Bit |
Versión corregida | 3.5 |
Estado | 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 del error: BUG-000171361
Software:
Obtener ayuda de expertos en ArcGIS
Descargar la aplicación de soporte de Esri