You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

This is a quick tutorial to show you on how to create a html form and pass its value as parameter to Jasper Report by using Jasper Report Userview Menu (Enterprise). The output of this tutorial is you are able to filter the result of a report by submit the HTML form that you created.

First, add a Jasper Report menu into your Userview Builder and configure the jrxml as shown in this link. Then, create a HTML form in the "UI > Custom Header" options 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 by the help of Request Parameters Hash Variable.
Now, your report is ready with filtering feature. The screenshot below shown the end result.

1. Before any value key in for filter.
2. After a "j" is typed in the filter field and submit button is clicked.
Sample App : APP_jasper-1-20141007164459.zip

  • No labels