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

First, add a Jasper Report menu into your Userview Builder and configure the JRXML as shown in this link. Then, create an HTML form in the "UI > Custom Header" option as shown in the screenshot below. Use the Request Parameters Hash Variable to re-populate a submitted value.

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

Now, your report is ready with the filtering feature. The screenshots below shows the end result.

1. Before any value is keyed in for the filter:

2. After a "j" is typed in the filter field and the submit button is clicked:

Sample App : APP_jasper-1-20141007164459.zip

  • No labels