-->

How to Pass Input Parameters by URL in BIRT?

2020-07-18 07:11发布

问题:

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?

回答1:

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



回答2:

Hakre..

If you are using static parameter then those parameter can be passed in the following way: "http://yourcompleteurl&parametername1=value1&parametername2=value2".