Joget DX 8 Beta Released
The beta release for Joget DX 8 is now available, with a focus on UX and Governance.
JasperReports UI Menu is a UI element 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 UI, 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.
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 UI.
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.
There are community and enterprise versions for both JasperReports and iReport Designer, depending on your needs.
Figure 1: Jasper Reports Properties
|Label||Menu label. Mandatory field.|
Item link slug. Optional field.
Value defined here must be unique to the rest of the UI Menus as the first matching name will be called upon.
|Export Options||Enable 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 issues in generating of report, try checking this option.|
Figure 2: Jasper Reports Properties - Configure Custom Database
The default database settings for your installation of Joget DX can be found by going to Settings > System Settings > Datasource & Profile Settings
Enter your JDBC Drive Name
Enter your JDBC URL
Enter your JDBC profile's username
Enter your JDBC profile's password
Figure 3: Jasper Reports Properties - Advanced
If your Jasper Reports is expecting parameters, here's where you can map there.
Figure 4: Jasper Reports Properties - UI
|Custom Header||Custom Header in HTML.|
|Custom Footer||Custom Footer in HTML|
Figure 5: JasperReports Properties - Performance & Offline Settings
Caching options are:
|Duration (s)||Duration in seconds to cache content, defaults to 20 seconds if applicable.|
Read more at Performance Improvement with UI Caching.
Note: PWA Offline support is dependent on the theme used.
|Enable cache for offline support||Check this to enable caching for offline support, usually set for use on mobile browsers.|
Read Progressive Web Application (PWA) for more information.