Articles in this section

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.
    image.png

2. Update the configuration setting

  • Navigate to SettingsConfiguration. From the configuration file dropdown, select reporting/config.xml.
  • Set EnablePrameterOperator to true.
  • Save the configuration changes.
    image.png
<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.
    image.png
  • Select the desired operator (for example, “Between” for range selection).
    image.png

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.
    image.png

See Also

Was this article useful?
Like
Dislike
Help us improve this page
Please provide feedback or comments
Comments (0)
Access denied
Access denied