|Re: Report viewer on Tomcat [message #898632 is a reply to message #898606]
||Thu, 26 July 2012 22:35
| Jason Weathersby
Registered: July 2009
Sure you can do this. There are several ways this can be done, using a
little script to change the file name, pass in an xml stream, or use
property binding. Look at the attached screenshot. Notice the fx
button on the image labeled 2. The expression is represented in image
3. In this case I am looking in a report directory, but I could have
deleted this entire expression and just selected a string parameter that
you pass in to the report as well.
On 7/26/2012 5:02 PM, Dave C wrote:
> I'm hoping this is an easy question!
> We have the BIRT viewer running with tomcat and I've made a simple
> report that uses a XML file as its data set.
> I was imagining we'd use a third party application to generate the XML
> file the report would use as its data set. This works out with a single
> user because it doesn't matter if the file is over-written each time
> they want to view the report with "new" data. However, we don't need a
> report only one person can run, we will have multiple making use of this
> report, possibly at the same time.
> As far as I know, our tomcat server will not have access to our
> databases thus the need for the source XML file.
> Is it possible to create a birt report that can be run by multiple
> users, simultaneously that uses a passed XML file as the source for its
> Any help is greatly appreciated!
Powered by FUDForum
. Page generated in 0.02070 seconds