How to Pass Input Parameters by URL in BIRT?

vmb picture vmb · Oct 18, 2012 · Viewed 14.7k times · Source

I am new to BIRT reporting. In my BIRT report I have two input parameters. I want to pass these two input parameters to the server through the query string (in the URL).

How can I do this?

Answer

FerA picture FerA · Oct 18, 2012

If the problem is just get the right URL, this would be something like:

"YOUR_SERVER/your_birt_app/run?__report=ReportName.rptdesign&Name_Parameter1=Value1&Name_Paremeter2=Value2".

The "run" method is one of the methods mapped in the BIRT Viewer Servlet. There are two others: "frameset" and "preview".

You can check these informations in: http://www.eclipse.org/birt/phoenix/deploy/viewerUsage2.2.php