Child pages
  • OpenIDM 2.0 - Experimental Jasper Embedding
Skip to end of metadata
Go to start of metadata

OpenIDM can easily be used together with third-party reporting and BI frameworks such as Jasper or Pentaho. This tutorial guides you through emebedding Jasper Reporting engine and provides you with two sample reports that easily can be run from within OpenIDM.

Perform the following steps:

1.) Create a reports directory in $OPENIDM.

mkdir $OPENIDM/reports

2.) Copy the following jars and place them in $OPENIDM/bundles

  1. commons-beanutils-1.8.3.jar
  2. commons-collections-3.2.1.jar
  3. commons-digester-2.1.jar
  4. jasperreports-4.5.1.jar
  5. openidm-reporting-jasper-2.1.0-SNAPSHOT.jar 

3.) Now either create some reports, or place these two sample reports in the $OPENIDM/reports directory.

4.) The reports can be invoked in two different ways, either to generate an HTML report or a PDF report.

For PDF report: http://localhost:8080/reporting/jasper?template=activity.jasper&format=pdf
for HTML report: http://localhost:8080/reporting/jasper?template=activity.jasper


For PDF report: http://localhost:8080/reporting/jasper?template=orphan.jasper&format=pdf
For HTML report: http://localhost:8080/reporting/jasper?template=orphan.jasper

Reports can easily be built using e.g. Jasper iReport.

  • No labels