# Editing Data Function Parameters

You can configure the handlers for input and output parameters in a Data Function. Editing parameters is an optional step. Statistica data functions can be run without editing any parameters.

Note: A handler specifies:

- The method the data for an input parameter is sourced (Columns, Expressions for input parameters of type Table, Value, Document property, Data table property, Column property, and Expression for input parameters of type Value).
- The method the data for an output parameter is routed back into Spotfire (Data Table, Columns, Rows for output parameters of type Table).

## Procedure

1. To open the Edit Parameters dialog box in the Spotfire instance,
   - Go to Edit > Data Function Properties > Edit Parameters option; or
   - In the Statistica Integration dialog box, click Edit Parameters button.
2. You can configure the input parameters, to provide appropriate values.
3. The data passed into a data function can be restricted by specifying markings or filters to use for an input parameter.
4. Input parameters that map to Variable Selection, Code Selection, or Enumeration type node parameters in the workspace when included in the data function definition are indicated by special tokens in the Descriptions field for the parameters.
   Note: Parameters mapping to Variable Selection type parameters have a "[Variables]" token in the default description; parameters mapping to Code Selection type parameters have a "[Codes]" token in the default description; and parameters mapping to Enumeration type parameters have a "[Enumeration]" token in the default description followed by all the valid values for Enumeration type.
5. To configure output parameters, click the Output tab in the Edit Parameters dialog box.
6. After the parameters are edited, click OK.
   This invokes the data function execution and in response the workspace execution in the background.
7. The input parameters are replaced in the workspace according to the specifications made in the Edit Parameters dialog box. The workspace is run and outputs are returned to Spotfire.

Copyright © Cloud Software Group, Inc. All rights reserved.