Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Get report parameters with genReport.sh or birt viewer
Get report parameters with genReport.sh or birt viewer [message #722623] Tue, 06 September 2011 11:07 Go to next message
psuliga.ca is currently offline psuliga.ca
Messages: 2
Registered: September 2011
Junior Member
Hi

It is not possible at the moment to extract report parameters using genReport.sh or birt viewer.


It would be convenient to have such an option - integration with non-java apps would be a lot easier. Right now the only way of getting parameters is as described here: www.eclipse.org/birt/phoenix/deploy/usingPHP.php#parameter_form (sorry I cannot post links). However it can only work for web apps and isn't pretty. Not that calling genReport.sh or making a birt viewer request for parameters would be perfect but it would be a lot more acceptable Wink

Also if such an option is to be provided it would be nice to have at least those three output formats: csv, json and xml.

Does anybody know if there is anybody working on this or if there exists similar request somewhere in bugzilla?
Re: Get report parameters with genReport.sh or birt viewer [message #722711 is a reply to message #722623] Tue, 06 September 2011 14:43 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

The report engine api does provide a task to retrieve all the parameter
information. Are you wanting an example of this in a .sh file?

Jason

On 9/6/2011 7:07 AM, psuliga.ca wrote:
> Hi
>
> It is not possible at the moment to extract report parameters using
> genReport.sh or birt viewer.
>
>
> It would be convenient to have such an option - integration with
> non-java apps would be a lot easier. Right now the only way of getting
> parameters is as described here:
> www.eclipse.org/birt/phoenix/deploy/usingPHP.php#parameter_form (sorry I
> cannot post links). However it can only work for web apps and isn't
> pretty. Not that calling genReport.sh or making a birt viewer request
> for parameters would be perfect but it would be a lot more acceptable ;)
>
> Also if such an option is to be provided it would be nice to have at
> least those three output formats: csv, json and xml.
>
> Does anybody know if there is anybody working on this or if there exists
> similar request somewhere in bugzilla?
Re: Get report parameters with genReport.sh or birt viewer [message #722980 is a reply to message #722711] Wed, 07 September 2011 11:10 Go to previous message
psuliga.ca is currently offline psuliga.ca
Messages: 2
Registered: September 2011
Junior Member
Jason Weathersby wrote on Tue, 06 September 2011 10:43
The report engine api does provide a task to retrieve all the parameter
information. Are you wanting an example of this in a .sh file?

Jason


If you are saying that it is possible to run ReportRunner class from shell in order to get parameter information for particular report then yes - It'll be great to see an example. But by looking at ReportRunner.java file I don't think it is possible.

EDIT:
Nor it is possible to make a request to birt viewer to get just the parameter info for a report AFAIK.
And this is what I am asking for (if anybody reported similar requests or is anyboda already working on this)

[Updated on: Wed, 07 September 2011 11:14]

Report message to a moderator

Previous Topic:OutOfMemory when rendering a crosstab report in WebViewer
Next Topic:image reference in 3.7 designer/viewer mode
Goto Forum:
  


Current Time: Sun Sep 21 06:22:57 GMT 2014

Powered by FUDForum. Page generated in 0.01634 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software