Bogue
Numéro d’ID de bogue | BUG-000171361 |
---|---|
Envoi | October 9, 2024 |
Dernière modification | February 8, 2025 |
S’applique à | ArcGIS Pro |
Version trouvée | 3.1 |
Système d’exploitation | Windows OS |
Version du système d’exploitation | 10.0 64 Bit |
Version de correction | 3.5 |
Statut | 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 de bogue: BUG-000171361
Logiciel:
Obtenir de l’aide auprès des experts ArcGIS
Télécharger l’application Esri Support