Extending the Geoprocessing Widget

1703
1
10-08-2013 03:08 AM
WillHughes1
Occasional Contributor II
Can you hook up any geoprocessing task to the compiled geoprocessing widget?

I have a gp task which does a select by location based on user input. For example it selects all points that fall within a user selected polygon - (user selected polygon is a selection by attribute not a click selection on the map).

So I need to customize a gp widget (or THE gp widget) so that there is a dropdown list of polygon ids (field/values) on the widget, which the user selects and then runs the tool. The tool selects all the points within the selected polygon, and then updates the attributes of the selected points to a constant value.

Can this be configured or do I need to do some customization in the source code?

Is there a getting started example for customizing geoprocessing widgets (extending source code using flash builder)?
Something similar to the "building a custom widget" example on youtube? I need an example of how to send input parameters to my geoprocessing service.

Thanks.

Will
Tags (2)
0 Kudos
1 Reply
WillHughes1
Occasional Contributor II
OK so the answer is yes, you can configure the Geoprocessing Widget (.xml file) to work with your published geoprocessing task and input/output parameters. Very nice.
0 Kudos