How to Use the Month Picker Parameter in Bold Reports
As per the RDL standard, we don’t have the option to create the month picker parameter. However, Bold Reports addresses the user demand for month picker parameters by offering support for selecting a specific month only. This can be accomplished by incorporating custom properties into your report. To achieve the desired month and year format in the DateTime Picker, please follow the steps outlined below.
Open your report in the BoldReports. Click on the grey area in your report and navigate to custom properties in the properties panel.
Set the following three custom properties in your report in the report designer tool. These properties are crucial for configuring the DateTime Picker parameters:
‘DateStartLevel’ to ‘year’
‘DateDepthLevel’ to ‘year’
‘DateTimeFormat’ to ‘MMMM yyyy’
Apply the changes to the customer properties by saving the report. Then, preview the designed report in your embedded application to view the updated DateTime Picker format.
By following the instructions provided in this knowledge base article, you can easily configure the DateTime Picker in the BoldReports to display the format of month and year. By setting the ‘DateStartLevel’ and ‘DateDepthLevel’ properties to ‘year’ and the ‘DateTimeFormat’ property to ‘MMMM yyyy,’ you can achieve the desired result. Make sure you have upgraded to BoldReports version 5.1.22 or later before attempting these configurations.
Note: The ability to change the DateTime Picker parameters’ format to month and year was introduced in the BoldReports version 5.1.22. Ensure that you have upgraded your Nuget packages and scripts to this version or a later version to access this feature.