User manual
© 2011 Racktivity NV 157/160
Antwerpsesteenweg 19 - 9080 Lochristi - Belgium - www.racktivity.com v 2014.5.14
7. Create a template using jQuery; jQuery.template(name, template) where:
o name: A string naming the compiled template.
o template: The HTML markup and/or text to be used as template. Can be a string, or
an HTML element (or jQuery object wrapping an element) whose content is to be
used as a template.
8. Render the specified HTML content as a template, using the specified data:
jQuery.tmpl(name, [ options ]) where:
o name: A string naming the compiled template.
o options: An optional map of user-defined key-value pairs. Extends the tmplItem data
structure, available to the template during rendering.
9. Register the render function using:
o register(render);
10. Define your macro in a Markdown file.
Calling the Macro in a Markdown File
To call a macro in a Markdown file, you use the following format:
[[<macroname>]]
Macro body code goes here.
[[/<macroname>]]
Where macroname is the name of your macro, i.e. the name of the JavaScript file. For
example if we want to add the Google Maps macro, since it does not contain a body, we
use:
[[googlemaps]][[/googlemaps]]
Release notes:
Release Notes - DCPM Development - Version Release 1.4.0
reports:
o formulas in reports
o input metrics in reports
o monthly/weekly/daily automatic reporting (pdf, csv) (sent to email)
o redone reports presented with macros (examples in Report space)
maps:
o formulas on maps
o input metrics on maps
alarms:
o alarms triggered by formula values










