Consumption Analytics Documentation

Home > Documentation for older versions > Cloud Cruiser 3 > Administering > Managing reports > Creating custom reports

Creating custom reports

You can create custom reports by using the iReport design application. This section of articles contains the following:

This article explains how to create a new report either by modifying an existing report or starting from scratch and how to change the style of all standard reports.

Before you begin

Download and install iReport version 5.1.0, which is compatible with the version of JasperReports shipped with Cloud Cruiser.

Creating from an existing report

To create a new report from an existing one

  1. In the <installDir>/reportfiles directory, find the template with the .jrxml extension and the resource bundle with the .properties extension.
  2. Copy these into a separate directory outside of <installDir>, such as C:\cc-working\customreports.
    Perform the remaining steps of this procedure on the files in this directory, not the ones in the reportfiles directory.
  3. To keep the same report name and overwrite the original version while retaining a backup of the original template XML in the reportfiles directory, go to step 4. To give your new report a unique name, continue to step 3.
  4. Rename the report template, the resource bundle, and in the template XML the values of the report name and the resource bundle property so that they all match.
    For example, to change the name from InvoiceWithTiers (the Standard Invoice in the Cloud Cruiser Portal) to CustomInvoice you must:
    • Rename InvoiceWithTiers.jrxml to CustomInvoice.jrxml.
    • Rename to
    • Open CustomInvoice.jrxml in iReport and change the values of the report name and resource bundle properties to CustomInvoice.
  5. Open the report template in iReport and make the desired changes.
  6. Load the report with the loadreports command.

Creating from scratch

To create a new report from scratch

  1. Launch iReport and create a new report template using any of the built-in iReport templates and save the report outside of the installation root directory.
    For example, C:\cc-working\customreports. Saving to the <installDir>\reportfiles directory will cause import problems and will result in the custom report being overwritten by future upgrades to the Cloud Cruiser application.
  2. In iReport, set the following report properties to match the name used to save the report template:
    • Report name
    • Resource bundle (do not include the .properties extension here)
  3. Create a new resource bundle with a name matching the report name and report template.
    For example, if the report name is CustomInvoice, name this new file You can use any text editor to create this file.
  4. In iReport, set the Classpath to the cc-core-x.x-SNAPSHOT.jar. This can be done from iReport via Tools > Options > iReport > Classpath.
  5. Make sure that the Language for the report is set to Java.
    This is not the default. Right-click the report name in the Inspector and choose Properties, then switch the Language to Java.
  6. Also within properties, ensure that the Scriptlet Class is set to
  7. (recommended) Copy the parameter and field settings into the .jrxml file from an existing shipped .jrxml file using the XML editor.
  8. Load the report.

Modifying the style of all reports

The standard reports shipped with the product reference a style template for common header colors and fonts. You can change these attributes.

To modify styles for all standard reports

  • Use iReport to edit the file <installDir>\apache-tomcat-7.0.35\webapps\ROOT\skins\<skin_name>\StdReportStyleTemplate.jrtx.
Last modified


This page has no custom tags.


This page has no classifications.

 (c) Copyright 2017-2020 Hewlett Packard Enterprise Development LP