Query Widget
When configured, it represents a modal window that allows users to input and submit queries to retrieve specific data from a Feature Table.
Query configuration settings
Field |
Description |
Visualization |
---|---|---|
Name |
|
|
Parameters |
Settings:
|
|
Query Tabs Order
|
|
|
Favorites |
|
|
Save |
|
|
Query widget logic
The widget contains parameters corresponding to the parameters of the table located on the page.
Once some parameter is specified and the submit button is pressed, a request is triggered and the record corresponding to the applied parameter is returned to the table.
If several parameters are specified, the request is combined through the operator ‘AND‘. For example, by setting the query parameters to ‘Status = 1-Pending’ and ‘Priority = High,’ the system will return any records with a pending status and high priority, if available.
If a Where Clause is specified in the Feature Table, the Query widget combines this clause with the parameters set by the Query using the ‘AND’ operator. This means, that if the Feature Table specifies ‘Status = 1-Pending’ and the Query specifies ‘Status = 2-In Progress’, the resulting statement will be ‘Status = 1-Pending AND Status = 2-In Progress’ resulting in no records being returned.
Configured widget preview
Studio
When no parameters are selected, the Query tab shows the message: "Choose Parameters to apply to the Query". The word "Parameters" is a link, redirecting to the Parameters tab to set or adjust query options.
Clearion Web
Comments
0 comments
Please sign in to leave a comment.