SHarihar-esristaff

Difference between Geoprocessor.getResultImageLayer and Geoprocessor.getResultImage

Discussion created by SHarihar-esristaff Employee on Nov 30, 2012
I am not sure what the difference is between Geoprocessor.getResultImageLayer and Geoprocessor.getResultImage. The documentation states that Geoprocessor.getResultImage returns a static image while Geoprocessor.getResultImageLayer can be added to the map as a ArcGISDynamicMapServiceLayer.

But the problem is when I am using Geoprocessor.getResultImageLayer, the layer is added but there are not attribute values that are returned. I have created my geoprocessing tool using the following blog. I m also able to add the result layer to the map. The only problem is I do not get any attribute data associated with the layer.

Pls help.

Outcomes