Hello,
I am pretty new to BIRT, but already facing complicated (to me) requirements - and I could not find obvious answer. Could you please direct me how should I approach this?
The task is to create monthly report (so a table with 28 to 31 rows) based on XML data source where each row requires separate call to XML data server. In addition, user should be able to define start/end dated for the report via report parameters.
I have XML server that gives me details for each single day only, so I need to call it for each day of the month to fetch requested information. Then I call URL like
http://localhost/daily_details/{date}.xml where {date} formatted is as yyyy-mm-dd (single day), and I need to build monthly report out of that.
Is there a way of creating data source based on above? Even if I tried to specify 31 different data sources like this:
http://localhost/daily_details/2012-05-01.xmlhttp://localhost/daily_details/2012-05-02.xmlhttp://localhost/daily_details/2012-05-03.xmlhttp://localhost/daily_details/2012-05-04.xml
...
this will not correspond to start/end dates a user might define.
I was also looking at onFetch method - but this is executed after fetching the row, not before...
Thank you in advance!