Example of interactive reports using Java
Thanks to the Pentaho Reporting capabilities, the development of interactive reports is straightforward. As a demonstration of how an interactive report would work, you will see here how to develop different types of interactions. The examples shared here cannot be exhaustive, but will give you an overview of the most relevant features you can use in your future developments.
Opening a static URL from a Pentaho report
The first example we are going to show is about a very basic feature: opening a custom URL by clicking on a report's element. To see in action a working example, a complete project is available in the https://github.com/fcorti/pentaho-8-reporting-for-java-developers repository, specifically, in the interactive-report
project stored in the Chapter 14 - Building interactive reports
folder.
Looking at the source code of the project, there is something we didn't have the change to see in the previous chapters of the book: how to preview a...