Geoprocessing task settings: Files
In this topic
Name and description
A meaningful name and description for the parameters helps your clients understand and provide appropriate values for the parameter. By default, the Service Editor copies the description of the parameter from the tool's item description.
Type
The parameter type defines whether the
client must supply a value for the task to execute successfully. In the Service Editor, you can only change optional parameters to required. To change a required parameter to an optional parameter, you'll need to exit the Service Editor, edit the properties of your tool, and run the tool again to create a new result.
Input mode
The Input mode determines how clients will input files to your task. There are two choices, described in detail below.
User defined value
In this mode, the client will use their own file as input to the task parameter. The Default value will always appear as <empty> as file parameters do not have default value.
Constant value
Use the Constant value mode when you want the task parameter to be fixed to a constant value.
- The value used for the Constant value is always the parameter value used to create the result. To change this value, you must create a new result with the desired value and publish the new result.
- Parameters with an input mode of Constant value do not become task parameters in the published task since clients cannot change their value.
- In this mode, the files become project data used by the task.