Write geoprocessing server results to ArcSDE

4010
0
01-12-2015 05:33 AM
ModyBuchbinder
Esri Regular Contributor

Hello
all

We
would like to create a geoprocessing service that will write new layer to
ArcSDE for each call.

We
created a very simple Python script that runs without any problems from ArcMap.

When
you publish it as geoprocessing service the Python script is changed so it try
to write to some scratch workspace and it losing the path to ArcSDE connection
file.

We
even tried to create the connection file on the fly (using the GP tool) and use
it layer in the script but again the path to the connection file is replaced.

Is
there any way to do it?

Thanks

Mody

0 Kudos
0 Replies