Use Parameter of Choice List for GP Service

2980
10
05-26-2011 03:58 AM
Stefan_Arndt
Esri Contributor
Hey everybody,

i'm trying to implement a flex web application, which uses a geoprocessing service.
This GP Service needs a FeatureLayer/FeatureDataSet as input, before it can run.

I tried different ways to deliver the parameter, but it doesn't work.
Attached you'll find my code. I hope that somebody can find the mistake.
Probably the mistake is in this line:
var params:Object = "http://wk2658/ArcGIS/rest/services/scotturb/FeatureServer/0":featureSet;


Is it possible to use a file out of the local file system of the webserver?
Additionally i have uploaded 4 Layers in the MapDocument together with the Toolbox/GP Service, so as you can see in the screenshot i have a choice list.
How can i choose one layer of the choice list and forward this to the GP Service ?

And most important question: What i am doing wrong? 🙂


Best regards
Stefan
0 Kudos
10 Replies
Stefan_Arndt
Esri Contributor
Or perhaps this question is better:

I'm still not sure about the answer of my last question, but i guess it's a problem with Client and Server site, that the GP needs a file which is provided on the server and not in the local file system, right?

But i have another GP Service which saves the Shapefile in my Scratworkspace and i want to use this Shapefile in my GP Service ... I have no clue how to manage this ...
0 Kudos