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 Number BUG-000155118
SubmittedJanuary 14, 2023
Last ModifiedJune 23, 2025
Applies toArcGIS Pro
Version found3.0
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusNon-Reproducible

Additional Information

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.

Steps to Reproduce

Bug ID: BUG-000155118

Software:

  • ArcGIS Pro

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options