AnsweredAssumed Answered

Use Parameter of Choice List for GP Service

Question asked by s.arndtesri-de-esridist Employee on May 26, 2011
Latest reply on May 27, 2011 by geonetadmin
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

Attachments

Outcomes