AnsweredAssumed Answered

Publishing Python tool as geoservice

Question asked by TomGeo on Oct 24, 2014

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

Outcomes