Geoprocessing Widget - OnComplete

06-02-2020 04:38 AM
Occasional Contributor III


I am trying to code a widget that edits the symbology of an output map service. 

I have a widget that works using a predefined path, so that part im ok with:   e.g.    mapservice/0

I need to somehow run a Geoprocessing Tool,   then pass the     jobid/mapservice/0     to my existing widget. (Or write a new widget, whatever is required!)

Does anyone have any ideas how this should be accomplished? Maybe I just need to get the output JobID into a javascript variable and can work it out from there, does the geoprocessing widget emit any events?

Possibly these threads are relevant but im not sure:
Using result map service in web applications—ArcMap | ArcGIS Desktop 

Send a layer to the Attribute Table widget—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS fo... 

0 Kudos
0 Replies