Feature #378
Extend the getReports method to accept standard report filename mask filters in addition to the COMPILED and NONCOMPILED filters
0%
Description
We have a scenario where the application needs to check if a particular report file (.jasper) exists in the reports directory on the server.
Currently, the method allows only the full list of .jasper or .jrxml files to be returned using the predefined filters COMPILED and NONCOMPILED. However, in our case these lists can be very long (over 1000 entries) and it will be very helpful if the getReports method is extended to accept custom filter strings (like 'some_report_name.jasper', or 'customer*.jasper') which will limit the amount of returned data from the server. For our case even just full report name filters will be adequate but wildcard filters will be more appropriate considering that the actual operation for which we need this is checking for existence of specific report files on the server.
History
Updated by Andrei Costache over 13 years ago
- Status changed from New to Closed
- Assignee set to Andrei Costache
- Client type set to Any
- In developer? set to No
- Servoy version set to 5.2.x and above
- OS version set to Windows
- Java version set to 1.5, 1.6
Fixed.
The getReports function will now accept file names (with wildcards also) as filters.
Sample code has been updated for this too.