Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This is a quick tutorial on using an HTML form to pass parameters to the Jasper Report JasperReports Userview Menu (Enterprise), to demonstrate how to filter the results of a report based on input values.

First, add a Jasper Report JasperReports menu into your Userview Builder and configure the JRXML as shown in this link. Then, create an HTML form it as usual.

Then, write in the code as seen in the "UI > Custom Header" option, as shown in the screenshot below. The code specified here will create a HTML form to allow filter values to be submitted.

After then, use Use the Request Parameters Hash Variable to re-populate a the submitted value.

After a form is created, configure the Report Parameters with the help of Request Parameters Hash Variable.

...

Sample App : APP_jasper-1-20141007164459.zip

Related Elements