Query Param

Description:

Allowed Parent Components:

  1. Query DataSource

Allowed Child Components:

  1. Trigger Before Render

Properties

➤ Enable Condition

Specify an expression that should be evaluated to a boolean [e.g. #{dsAlias.attr1} == 'X' && #{dsAlias.attr2} > 1]. If no expression is specified, it will be considered as true.

Allowed Values: An expression which should return boolean after evaluation

➤ Set As Header Filter

Check this if the target datastore is used in a grid and to visually show the applied filter on the grid header

Allowed Values: Yes/No

➤ Value Expression

Specify an expression that should be evaluated to a string or number depending on the target attribute

Allowed Values: Specify an expression that should be evaluated to a string or number depending on the target attribute

➤ Param Attribute

Specify the attribute that is passed as a param to query the Datasource.

Allowed Values: Specify the attribute that is passed as a param to query the Datasource.

➤ Grid Column Item Id

Specify the grid column item ID where you want to add the header filter

Allowed Values: Specify the grid column item ID where you want to add the header filter

➤ Filter Type

Select an option to change the where clause operator for the filter attribute in the query. Choose 'on' for matching date attribute within the given date i.e. >= 00:00 & < 24:00 .Choose 'in' for matching attribute with multiple values Note: Please provide the values with ';' separator i.e. 1;2;3

Allowed Values:

  1. =

  2. !=

  3. >=

  4. on

    >

    <

    in

    NULL

    NOT NULL

➤ Remove Param After Query

By default, any query params set will stay through the browser session and will be used in all the future queries of this data source. Check this if you do not want this query param to be used in future queries.

Allowed Values: Yes/No

Last updated