Table of Contents

User dynamic parameters

Dashboard block

Filters only work on real values that already exist in the records. Opositely, user parameters can:

Up to 5 user parameters can be defined that will add dynamic behaviour to the query. These parameters will add dynamic “WHERE” constraints using those variables, and will turn the dashboard into a dynamic query tool for the end user.

Defining a user parameter

SQL field

The (real, unaliased) table SQL field name on wich the constraint will be added.

Label

The visible label this query control will appear with on the dashboard interface.

Type

The constraint type:

Values

For the types 'single choice' and 'list', provides the option values.

Inserting the parameter rules in the query

If user params are used, the placeholder <PARAMS> will have to be inseted in the query body. This placeholder must be part of a WHERE clause. (or eventually if consistant a ON portion of a partial JOIN statement).


Credits

Return to the configuraiton guide index - Return to the component index - Generic query catalog - Return to the plugins index - Home