Bug
| Bug ID Number | BUG-000159968 |
|---|---|
| Submitted | July 19, 2023 |
| Last Modified | June 1, 2025 |
| Applies to | ArcGIS Pro |
| Version found | 3.1 |
| Operating System | N/A |
| Operating System Version | N/A |
| Version Fixed | 3.20 |
| Status | Fixed |
Use the replace() method in the Python script:
portalURL = "https??hostname.domian.com?portal"
portalURL = portalURL.replace('??', '://')
portalURL = portalURL.replace('?', '/')
gis = GIS(portalURL)
Bug ID: BUG-000159968
Software:
Get help from ArcGIS experts
Download the Esri Support App