-
From the top bar, click $ Input parameters.
-
In the Parameters panel:
-
Give a name to the parameter. For example,
MyParam
.
- Optional:
Define arguments.
-
Specify a Return type. For example,
string
.
-
In Default value, enter the default value that the input
parameter will give to the variable.
If you do not specify any value, the value is NULL
. You can use
double quotes ""
to get an empty value by default.
-
Select DataQuery parameter, to make the input parameter
available in data queries.
-
Save your
configuration.
Then, by binding the input parameter to a variable, the
variable can take dynamic values. This is typically useful to filter hits by comparing a
field value with a variable value.
For example, you can filter objects by country, with a FILTER
operator
and a predicate expression calling the input parameter.
