When scripting the publishing of geoprocessing services using python, how can we set certain tool parameters to be of "Constant value" type or "User Defined" type?
Can we do this only in the service editor in Desktop while publishing?
How can we do this via scripting?