Cloud Cruiser became HPE Consumption Analytics on Nov. 1st. You'll still see the old name in places while we update this site.

 

 

Consumption Analytics Documentation

Home > Cloud Cruiser 3 > Administering > Managing reports > Creating custom reports > Custom parameters

Custom parameters

Table of contents

Some reports might require collection of input for parameters which are not included in a standard set defined by Cloud Cruiser. In this case, Cloud Cruiser provides some properties which may be specified for parameters at report design time to collect input from the user when the report is launched. All custom properties supply a single, named parameter to the report server as defined by the user.

isForPrompting

isForPrompting is a Jasper-defined attribute which must be set to true for Cloud Cruiser to inspect the parameters properties.

<parameter name="TopN" class="java.lang.String" isForPrompting="true">
  <property name="com.cloudcruiser.param.text" value=""/>
</parameter>

If this value is not set is false , this parameter will not be scanned for inclusion in the list of parameters to prompt the user for. Note that for every report parameter which specifies isForPrompting=true and a valid CC parameter property, Cloud Cruiser will look for two specific entries in the resourcebundle for locale-based prompt label and description of that parameter:

com.cloudcruiser.param.<parameterName>.label
com.cloudcruiser.param.<parameterName>.description

If either resource is not found in resourcebundle , the value defaults to the parameter name. For example, for the parameter declaration below:

<parameter name="MyString" class="java.lang.String" isForPrompting="true">
  <property name="com.cloudcruiser.param.text" value=""/>
</parameter>

Cloud Cruiser looks for the following keys in the resource bundle:

com.cloudcruiser.param.MyString.label
com.cloudcruiser.param.MyString.description

If not found in the resource bundle, Cloud Cruiser defaults each value to MyString .

Last modified

Tags

This page has no custom tags.

Classifications

This page has no classifications.
© Copyright 2018 Hewlett Packard Enterprise Development LP