Please help this noobie. I published a geoprocessing service to ArcGIS Server, and added it to a web application (Portal WebApp Builder geoprocessing widget). The script tool worked in Arcmap and published fine with a resulting feature class. Here are my problems.
1. I am not able to get pop-up information for the geoprocessing result
2. it does not show up in the application's legend widget
3. when configuring the geoprocessing widget, I do not see any options for defining the symbology and popup fields for the output as described in the widget documentation
Script properties for the output is a feature class, derived and the direction is the output.
Does anybody have any ideas for fixing this? I question my SetParameterAsText. Any help is appreciated.
Please let me know if you have any suggestions.
Thank you so much
I looked into this a bit more deeply and found that the main solution is to add the python script into a model builder model. Make sure to include 'Model Parameters' to all inputs and outputs. Publish this model. That really did the trick.
This has been documented as a bug. Wrapping the script in a model does force the proper output parameter. Not sure if it still exists in 10.6 but guessing that it does.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.