Select to view content in your preferred language

ArcGIS Server Geoprocessing Service Output Feature Set/Layer

2047
1
02-02-2011 01:09 PM
KarenRobine
Frequent Contributor
I've built a model that calls a python script. I need to run it in ArcGIS Server. I need the results to be output as a Layer that I can then view. (I create a brand new Feature Class behind the scenes and add some features to it).

If I setup the derived output to be a Feature Layer, I receive an error message, "Invalid return value: %scratchworkspace%\Scratch.gdb\MyFC"
If I setup the derived output to be a Feature Set,  ArcGIS Server doesn't throw an error, but I never see my output.

Ideas?

I also need to output a Table (I create) that the user can view. I've never gotten  to work, both in Desktop and Server (The table is created but it never gets added to my model results).

Thanks.
Karen
0 Kudos
1 Reply
KarenRobine
Frequent Contributor
I got this working. By setting up the output to be a Feature Class instead of a Feature Set or Feature Layer, it works in both Server and Desktop environments.  The results then appear when I run my Service in a Desktop environment (havent completely tested yet in Web Environment)...
0 Kudos