Publishing Python tool as geoservice

2118
0
10-24-2014 06:19 AM
TomGeo
by
Occasional Contributor III

I am running into an issue publishing my Python tool as a geoservice.

One of the first things in the tool is the selection of a workspace, which I then set as arcpy.env.workspace.

Even though the parameter is clearly some the user can choose, when trying to publish the tool this parameter is recognized as a constant. Apart from not being able to write any description for the parameter, that keeps me from publishing the service and it determines default values for the other fields the user can choose from.

I can only deselect the fields, or feature classes that haven't been used in the successful run of the tool.

My question would be on how to get rid of these values, since I do not want to have any default values in any of the fields provided for user input.

Bests, Thomas

Environment: ArcGIS Server 10.2, ArcGIS 10.2.1

- We are living in the 21st century.
GIS moved on and nobody needs a format consisting out of at least three files! No, nobody needs shapefiles, not even for the sake of an exchange format. Folks, use GeoPackage to exchange data with other GIS!
0 Kudos
0 Replies