Configure Dropdown Parameter Search Filters in Bold Reports
To control how a dropdown parameters filters as users type in the Bold Reports Report Designer, add the DropdownFilterType custom property to the report and set it to StartsWith, EndsWith, or Contains. Open the report’s Set Attributes dialog, add the property, choose a value, then preview. If you do not set it, filtering defaults to Contains.
When to use this
Use this when a dropdown (available-values) parameter holds many similar entries and you want to change how typed text matches them. For example, set StartsWith so the list shows only values that begin with what the user types, instead of matching the text anywhere in the value.
Steps to Configure Advanced Search Filters
- Open the report in the Bold Reports Report Designer.
- Click the gray area outside the report body to select the report. This opens the Properties panel for the whole report.
- In the Miscellaneous section, click Set Attributes… to open the Custom Attributes dialog.
- Click ADD to create a new custom property.
- In the Name field, enter
DropdownFilterType. In the value field, enterStartsWith,EndsWith, orContains. This example usesStartsWith. - Click OK to save the property.
- Save the report, click Preview, open the parameter dropdown, and type to confirm the filter behaves as expected.
Note: If no DropdownFilterType is specified, the filter defaults to Contains.
Filter options
| Filter type | Description | Default |
|---|---|---|
StartsWith |
Filters items that begin with the entered text. | No |
EndsWith |
Filters items that end with the entered text. | No |
Contains |
Filters items that contain the entered text anywhere. | Yes |
Result
The dropdown parameter filters its values according to the DropdownFilterType you set. If no DropdownFilterType is specified, the filter defaults to Contains, so typed text matches values anywhere in the entry.