minerjoe

Returning a table from Geoprocessing Service

Discussion created by minerjoe on Jul 7, 2012
Latest reply on Dec 18, 2012 by nilsbabel
I think this is probably really simple to do but I cannot seem to figure out how to return a table from a Geoprocessing service.  My service creates a table and I want to return that to the caller.  Documentation indicates a table can be used as the return value and AGS will convert it to a FeatureSet to return.  I have tried numerous incarnations of SetParameter or SetParameterAsText with different values as the return parameter and keep getting

RuntimeError>Object:Error Setting Parameter (or Parameter as Text)

Can anyone post a sample of how I would return a table from my scratch workspace as the result of a GP Service

Thanks
-Joe

Outcomes