Select to view content in your preferred language

Complete Asynch submitJob example

735
2
04-07-2010 12:50 PM
DorothyMortenson
Deactivated User
Hello,
Does anyone have a complete gp.submitJob example they can provide? 

In my case, the user will click on the map to get the xy coordinates. Those coordinates will go to a asynch toolbox to run a script.  I would like it to come back with a shapefile generated from the script and some attributes from the shapefile.

Any suggestions?

Dorothy
Tags (2)
0 Kudos
2 Replies
MiriRevivo
Deactivated User
Hi Dorothy,

Run the Runtime SDK's sample application and search for the sample whose name is "contour". This is pretty much all you need to get started and running. It indeed is using SubmitJobWithMapServerResult, but the concepts are similar, except that in this manner the result is then added to the map as a map service.

Miri.
0 Kudos
MiriRevivo
Deactivated User
You can also take a look at this link, which helps with getting the results after the job has completed running:

http://forums.arcgis.com/threads/32843-Getting-results-from-submitJob-geoprocessing
0 Kudos