Category / Section
How to Ignore the WHERE Filter Query for Dashboard Parameter Fields
Published:
This document provides instructions on how to ignore the WHERE filter query when a dashboard parameter is configured. To achieve this, set the DisableWhereForSelectAll property to true in the config.json file. By default, this property is set to false.
Steps to Ignore the WHERE Filter Query for Dashboard Parameter Configurations
- Access Configuration Settings: Navigate to the following URL:
http://{your_domain}/ums/administration/config-editor
This will direct you to the configuration settings page of the UMS. - Select the Configuration File: In the “Search your files” drop-down menu, select the
config.jsonfile. - Modify the DisableWhereForSelectAll: Locate the
DisableWhereForSelectAllkey within the file, set its value totrueand save the file.
- Restart the Application: For the changes to take effect, restart the application.
- Parameter Configuration: Configure the dashboard parameter in
Listmode, set the format toTable, and set the default value toAll.
- Data Filters Configuration: Add the created parameter field to the data filters. Refer this link for guidance.
This option is applicable only when the dashboard parameter is configured in the data filters.
-
‘Where’ Clause Behavior in Dashboard: Configure the widget in the dashboard and publish it. While the data is being fetched, you can view the query.
-
If
DisableWhereForSelectAllis set totrue, theWHEREclause is ignored.
-
If
DisableWhereForSelectAllis set tofalse, theWHEREclause is included.
-
This feature is available from the 13.1 version.