Represents the abstract scalar parameter types.
Represents the abstract scalar parameter types, which defines a single-value parameter.
Abstract scalar parameters can provide a selection list. The list
can be static (defined by the selectionList
property) or dynamic (defined by the dataSet
,
valueExpr
and labelExpr
properties.) The user can sort this list by specified key and direction(as controlled by the
sortDirection
, sortBy
and sortByColumn
properties).
Refer to a data set for the dynamic selection list.
Refer to a data set for the selection list. Once this property is set, the selection list is dynamic.
The data type for the parameter.
The data type for the parameter. The data type controls how the Requester formats, parses and validates the parameter. Every type can optionally provide a choice list. And, the parameter can require that the user select one of the choices.
selectionList
property
The prompt for the dynamic choices.
valueExpr
property
An expression that returns the display value for each row in the dynamic list.
The flag that indicates whether the value of the parameter is required.
The flag indicates whether the value of the parameter is required.
true
if the value of the parameter is required.
For string type parameter, if the value is required, it cannot be null
or empty.
For other type parameters, required value cannot be null
.
List limitation number.
Value for the list limitation number. If the limitation is provided, only the top-n choices will be available in the parameter request dialog.
Defines a selection list for the parameter: static list of values from which the user can choose.
The parameter selection list provides a developer-defined list of choices. Every choice has two parts: a choice and a label. The label can be externalized and appears in the UI. The choice is the value passed to the report. For example, labels may be "Open" and "Closed", while the values are 0 and 1.
The items in the list are of the type given by the parameter data type.
The sort key for parameter values when preview.
The sort key for parameter values when preview.Its value can be label or value.
The expression by which the result sorts.
The expression by which the result sorts.
The sort order for parameter values when preview.
The sort order for parameter values when preview. Its value can be asc or desc.
The expression to get the value for the choice.
The expression on the data row from the dynamic list data set that returns the value for the choice.
The expression to get the value for the choice.
The expression on the data row from the dynamic list data set that returns the value for the choice.
lableExpr
property
The parameter type for this scalar parameter.
The parameter type for this scalar parameter. Its value can be dynamic or static.