Custom report generation
This sample demonstrates how to generate customized reports by using the Rule Designer public API.
Time required
10 minutes
Prerequisites
You must have Rule Designer installed to import and run this sample.
Description
You use the BIRT report designer to create the report templates. You apply BIRT features to interact with the Rule Designer API, which includes a report library, scripted data sources and data sets, and report parameters (see How this sample works).
Note: Use a version of BIRT that runs in the same Eclipse instance as Rule
Designer.
The sample covers the following operations:
Using BIRT to create the following artifacts:
- A report library to define data sources, data sets, and report parameters
- A scripted data source
- Scripted data sets
- Report parameters
Using JavaScript to access the Rule Designer API through the following methods:
- Calling a method of a Java™ class.
- Implementing event handlers on data sets.