Project

General

Profile

Feature #378

Extend the getReports method to accept standard report filename mask filters in addition to the COMPILED and NONCOMPILED filters

Added by Rossen Totev over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Start date:
09/28/2011
Due date:
% Done:

0%

Estimated time:
Browser (if web client):

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

#1

Updated by Andrei Costache over 12 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.

Also available in: Atom PDF