Versions Compared

Key

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

...

Introduction

JasperReports Userview UI Menu is a userview plugin 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 userviewUI, with optional export to PDF and Excel.

...

Warning
titleNote

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 userviewUI.

Info
titleWhat 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

Image RemovedImage Added

Figure 1: Jasper Reports Properties


issue
NameDescription
idMenu element unique id. Userview will use this id in the URL for the menu if the Custom ID is empty.
Custom ID

Item link slug. Optional field.

Info
titleUnique field

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

Datasource
  • Default Datasource
  • Custom Datasource
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 issues in generating of report, try checking this option.

...

Configure Custom Database

Image RemovedImage Added

Figure 2: Jasper Reports Properties - Configure Custom Database

Tip
titleTip

The custom database settings for your installation of Joget DX can be found by going to Settings > System Settings > Datasource & Profile Settings

Image Added

NameDescription
Datasource
  • Default Datasource
  • Custom Datasource
If the default datasource is selected, the custom JDBC settings below will be ignored.

Parameters

JDBC Driver
Enter your JDBC Drive Name
JDBC URL
Enter your JDBC URL
JDBC Username
Enter your JDBC profile's username
JDBC Password
Enter your JDBC profile's password 

Advanced

Image AddedImage Removed

Figure 3: Jasper Reports Properties - Report ParametersAdvanced


NameDescription
 Parameters

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

NameDescription
Name

Jasper Reports parameter name.

Code Block
titleExample
group

Image Modified

Image Modified

Value

Hardcoded value and Hash variable is accepted here.

Code Block
titleExample
#requestParam.groupName#

Image Modified

UI

Image RemovedImage Added

Figure 4: Jasper Reports Properties - UI


NameDescription
Custom HeaderCustom Header in HTML.
Custom FooterCustom Footer in HTML


Performance & Offline 

Image Added

Figure 5: Jasper Reports Properties - Performance & Offline Settings 


Name

Description

Scope

Caching options are:

  • None: No caching.
  • Application: Cache content by application where all users will see the same content.
  • User: Cache by username
Duration (s)Duration in seconds to cache content, defaults to 20 seconds if applicable.

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
Panel
borderColorpurple
bgColor#fefaff
borderWidth1
titleBGColor#ddccff
borderStylesolid
titlePerformance

Read more at Performance Improvement with UI Caching.

PWA Offline Settings

Note: PWA Offline support is dependent on the theme used.

Name

Description

Enable cache for offline supportCheck this to enable caching for offline support, usually set for use on mobile browsers.

Read Progressive Web Application (PWA) for more information.

Download Demo App

...