Skip to content

Home

Development

IDEs

API Explorer

Releases

Release notes

Martini Runtime

Martini Desktop

Martini Online

Feature requests

Bug reports

examples package: Using the Report Builder

The Report Builder allows you to create, populate, and design reports. In the examples package are Gloop and Groovy services that demonstrate how you can import and populate reports programmatically, as part of the Report Builder's features.

Related articles

Please see the following articles for more information:

Try it!

In the Navigator, expand the examples package and navigate to the code folder, then expand the reportBuilderDemo package. This package contains Gloop and Groovy files as shown below:

1
2
3
4
5
6
7
examples
├── ...
└── code
    └── reportBuilderDemo
        ├── ExampleReportImporter.groovy
        ├── Numbers.gloop
        └── States.gloop

To see the example in action:

  1. Run Numbers.gloop or States.gloop to import the report and populate it with data.
  2. Navigate to the Reports node of your instance and open the newly imported report named report-builder-demo.
  3. Switch from the Design tab to the Preview tab to see a preview of the report.

Explanation

Run the services under code/reportBuilderDemo/ named Numbers.gloop and States.gloop to populate the charts in the report page.

A preview of `report-builder-demo`