REPORTER
Global variables can be used to change a property on all objects throughout the report.
Invisible is a global property that controls whether objects that are invisible should be included in the report or not. By default, this filter is set to hide all invisible objects. By turning it on it is possible to display invisible objects again.
This can be set using the #set parameter. The setting can be changed mid report to change behavior for a section.
#set(global.invisible,'show') - to show all objects where Visible is not checked
#set(global.invisible,'hide') - to restore Visibility to its original setting
In reports, the Visibility property for each object is used. I.e. if 'Visibility' is not marked on a scorecard no subelements
on it will be visible on the web even if they are marked as visible, but they WILL be visible in reports.
This global property sets the number of decimal places to use for functions and tag results that do not have number of decimal formatting, e.g. ${actionplan.progress}. At the moment these use the system's default formatting.
#set(global.decimalPlaces,'0') - sets the number of decimal places to 0 for calculations that do not have a natural number formatting
#clear(global.decimalPlaces) - resets to system default formatting. This can be used anywhere in the report template to reset the decimal format to system default.
Default value is nothing, i.e. system default formatting is used.
Example:
Actual value is 73.933333
#set(global.decimalPlaces,'0') will display 74
#set(global.decimalPlaces,'1') will display 73.9
...
#clear(global.decimalPlaces)
If you specify global.decimalPlaces only the number will show, without post/prefix. When you clear global decimal places, the number
will show fully formatted.
This global property controls the formatting of result values for Reporter functions and calculations.
To deactivate the formatting of the result value of a function or calculation, use #set(global.formatType,'hide').
To apply the default formatting to the value, use #clear(global.formatType instead.
Version 5.1.2.0
This document contains confidential information. Not to be copied by third parties without written authorization.
© Copyright Corporater AS - All rights reserved.