Joget DX Available for Download

Check out Joget DX, the next generation successor to Joget Workflow for faster, simpler digital transformation.

Skip to end of metadata
Go to start of metadata


Introduction

JasperReports Userview Menu is a userview plugin that allows more complex reporting requirements through integration with JasperReports.

By using JasperReports report definitions, sophisticated reports with custom layouts and graphs can be generated and viewed directly within a userview, with optional export to PDF and Excel.

JasperReports is one of the most popular open source reporting engines. It is written in Java to be cross-platform, and it is able to use data coming from any kind of data source and produce pixel-perfect documents that can be viewed, printed or exported in a variety of document formats including HTML, PDF, Excel, OpenOffice and Word.
http://community.jaspersoft.com/project/jasperreports-library


Note

This feature is not meant to be a replacement for full-function reporting servers like JasperReport Server (http://community.jaspersoft.com/project/jasperreports-server). However, in many cases you do not need such advanced reporting features, and this plugin allows for easy embedding of sophisticated reports directly within a userview.

What is iReport Designer?

iReport is a powerful graphical design tool for report designers and power users to define reports for execution using the JasperReports engine.
http://community.jaspersoft.com/project/ireport-designer
There are community and enterprise versions for both JasperReports and iReport Designer, depending on your needs.


JasperReports Menu Properties

Configure Jasper Reports

NameDescriptionScreens (Click to view)
idMenu element unique id. Userview will use this id in the URL for the menu if the Custom ID is empty.

Figure 1: Jasper Reports Properties

Custom ID

Item link slug. Optional field.

Unique field

Value defined here must be unique to the rest of the Userview Menus as the first matching name will be called upon.

LabelMenu label. Mandatory field.
Default Output
  • HTML
Export OptionsEnable export options at the bottom of the generated report.
Jasper Report Definition (JRXML)Paste your JRXML definition in XML here.
Use virtualizer for large report?If you are experiencing issue in generating of report, try checking this option.

Datasource

NameDescriptionScreens (Click to view)
Datasource
  • Default Datasource
  • Custom Datasource
If the default datasource is selected, the custom JDBC settings below will be ignored.

Figure 2: Jasper Reports Properties - Configure Datasource

Parameters

NameDescriptionScreens (Click to view)
 Parameters

If your Jasper Reports is expecting parameters, here's where you can map there.

NameDescription
Name

Jasper Reports parameter name.

Example
group

Value

Hardcoded value and Hash variable is accepted here.

Example
#requestParam.groupName#

Figure 3: Jasper Reports Properties - Report Parameters

UI

NameDescriptionScreens (Click to view)
Custom HeaderCustom Header in HTML.

Figure 4: Jasper Reports Properties - UI

Custom FooterCustom Footer in HTML
Performance

You can configure the Performance settings in this Userview Element to cache existing content for improved performance and loading speed.

Read more at Performance Improvement with Userview Caching.


Download Demo App




  • No labels