![]() |
Consumption Analytics Documentation |
Use the loadreports
command to load reports into Cloud Cruiser or remove reports from Cloud Cruiser. If you do not have the <install_directory>/
bin
directory in your path environment variable, you can run the command from that directory.
Previously loaded reports will be updated with the new report if loaded again. The report title, group association, hidden status, and so on are preserved when reloading a report. To force all properties to be updated, you must first delete the loaded report and then reload the report.
When reports are loaded, there must be an accompanying resource bundle file with the same base name as the report file. For example, for MyReport.jrxml
there must also be a MyReport.properties
file that contains resource strings for a default report title and any parameters for which the user should be prompted.
The default title from this file is used to set the report title when initially loaded. Changes made to the com.cloudcruiser.report.default_title
property after the report is loaded will not affect the title seen in the report tree.
To load all reports in the standard report location
<install_directory>\reportfiles
) and the custom report location, run the loadreports
command without arguments.C:\cc-working\custom_reports
.To load all reports in a specific directory
loadreports
command with the directory path as an argument. For example, to load all reports in the custom_reports
directory, enter:loadreports C:\cc-working\custom_reports
To load a single report
loadreports
command with the report filename (including the absolute or relative path) as an argument. For example, to load the CustomInvoice
report in the custom_reports
directory, enter:loadreports C:\cc-working\custom_reports\CustomInvoice.jrxml
To load multiple named reports
loadreports
command with the report filenames (including the absolute or relative paths) as an argument. For example, to load the CustomInvoice and CustomUsers reports in the custom_reports
directory, enter:loadreports C:\cc-working\custom_reports\CustomInvoice.jrxml C:\cc-working\custom_reports\CustomUsers.jrxml
Use the loadreports
command with the -d
option to remove reports from Cloud Cruiser.
To remove a report from Cloud Cruiser
<report_location>
is the location of your report files:loadreports -d <report_location>
C:\cc-working\custom_reports
directory, enter loadreports -d C:\cc-working\custom_reports\CustomInvoice.jrxml
-a <application>
.<report_location>
directory, delete that .jrxml
file and all other files associated with the report..properties
files.(c) Copyright 2017-2020 Hewlett Packard Enterprise Development LP