User manual
© 2011 Racktivity NV 153/160
Antwerpsesteenweg 19 - 9080 Lochristi - Belgium - www.racktivity.com v 2014.5.14
Example
Below you can find an example of how you can add wizards into a DCPM page:
[[wizard:title=Example
Wizard,domain=racktivity,name=example_wizard,type=button,callback=refresh]]
[[/wizard]]
It is recommended to always fill out the parameter appname and domain, but it is not
required.
Sample
Input / output or both presentation macro
DCPM allows the user to present input, output or both measurement in one single box,
Following macro code needs to be added for presentation of those values. This macro is
only available as from DCPM version 1.4.
Parameters
Source=input: this presents input power
Source=output: This presents output power
Source=both: This presents both power values.
Example
[[widget:title=Total Power for
$templates.escapeWidgetParam($item.name),style=widgetThirdWidth $style, toggle=false,
more=#/View/$item.guid]]
[[totalpower:guid=$item.guid,source=both,textSize=20px]][[/totalpower]]
[[/widget]]
Sample
How to Create Macros
Adding dynamic content to a DCPM page is easy by using macros. There are two ways to
add dynamic content:










