AnsweredAssumed Answered

how to give parameters to geoprocessing results as map service

Question asked by burton449 on Jan 16, 2014
Latest reply on Jan 17, 2014 by pepatosp
Hi,

I have published a geoprocess in ArcGIS Server and checked the option to see the result in a map service. I have now a new map service that output the results correctly on the map like this:

var outputBuffer = new esri.layers.ArcGISDynamicMapServiceLayer("http://localhost:6080/arcgis/rest/services/buffer/MapServer",{     opacity: 0.75 }); map.addLayer(outputBuffer);


Now, I would like to know how (if its possible) to define parameters like Query or to give data selection or distance parameters as input. Is it possible to do it simply by adding properties in the layer definition or do I have to use the geoprocessing service instead (not the map service of the geoprocess)?

Thank you,

Outcomes