laptop and a wrench

Bug

The web tool configured from Python script works as expected in ArcGIS Pro, but not in ArcGIS Enterprise Portal via Map Viewer Classic.

ArcGIS Pro
Bug-ID-Nummer BUG-000155118
EingereichtJanuary 14, 2023
Zuletzt geändertJune 23, 2025
Gilt fürArcGIS Pro
Gefunden in Version3.0
BetriebssystemWindows OS
Betriebssystemversion10.0 64 Bit
StatusNon-Reproducible

Zusätzliche Informationen

The failure was due to a user error in the script, not a defect in Map Viewer.

Workaround

Publish a blank Python script as a .py file and edit the script after publishing.

  • In Server Manager > Services > Manage Services > Site > Stop the web tool.
  • In C:\arcgisserver\directories\arcgissystem\arcgisinput\<>.GPServer\extracted\p20\<scripttool> > Open the script > Paste the script > Save.
  • Go back to Server Manager and restart the web tool.
  • In Portal > Content > Click the Tool to get to the Item Details page > Click 'Open in Map Viewer Classic' > Add Layer > select the Tool > Run.

Schritte zur Reproduzierung

Bug-ID: BUG-000155118

Software:

  • ArcGIS Pro

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln