Enabling DateTime Parameter Operators in Bold Reports
Published:
Updated:
This article explains how to configure and enable the EnableParameterOperator property for a DateTime parameter in Bold Reports. By enabling this property, users can select an operator (such as Equal, Greater Than, Less Than, or Between) and then choose a date or date range based on the selected operator. This functionality enhances report interactivity by allowing dynamic filtering of data based on user-defined conditions.
Steps to Enable DateTime Range Selection Parameter
1. Access Manage Sites (Admin Access)
- Sign in to the Bold Reports Server and navigate to the Admin section.
2. Update the configuration setting
- Navigate to Settings → Configuration. From the configuration file dropdown, select reporting/config.xml.
- Set
EnablePrameterOperatorto true. - Save the configuration changes.
<EnableParameterOperator>true</EnableParameterOperator>
Configuring the DateTime Parameter in Report Designer
3. Enable operator for the parameter
- Open the report in the Bold Reports Designer and navigate to the Parameters pane.
- Locate the DateTime parameter and click the Edit icon.
- In the parameter properties, locate and check the Enable Operator checkbox.
- Select the desired operator (for example, “Between” for range selection).
4. Preview and Test
- Click the Preview button in the top toolbar.
- In the parameter section, verify that an operator dropdown is displayed next to the DateTime parameter.
- Confirm that two DateTime pickers (start and end) are displayed.
- Click View Report to apply the filter and validate the results.