This article is a reference for the extra codes you can add to report markers: showing several values, formatting numbers and dates, replacing true/false, and hiding empty sections.
Applies to: System administrators (
adminrole) ยท Module: Set up > Reports
Marker Basics #
- A marker is the data source name, a colon and the field key:
{{rd:risk/reference}}. - You can use double curly brackets
{{ }}or double square brackets[[ ]]around a marker. The shipped Excel templates use curly brackets and the Word templates use square brackets. - Nested fields are joined with colons, for example
{{rd:risk/level:risk.level/text}}for a level’s name. - Click Show available markers… on the report to copy the exact markers for the fields you ticked.
Several Values in One Cell (fold and join) #
{{rd:generic/owners|fold(name)}:join(, )} lists every owner’s name separated by a comma. Use fold(email) for email addresses, and fold(path) or fold(name) for divisions. Change the text inside join( ) to change the separator. See Advanced Report Coding.
Formatting Numbers #
Add :format(...) just before the final closing brackets. Numbers must be raw values: the shipped templates mark these with !, for example {{rd:!risk.inherent/score:!risk.score/product}}.
| Code | Result |
|---|---|
{{marker}:format(%.1f)} | 1 decimal place |
{{marker}:format(%.2f)} | 2 decimal places |
{{marker}:format(%,.2f)} | 2 decimal places with a thousands separator |
The outer brackets can be curly or square, but the brackets after format must be round.
Replacing True and False (bool) #
Tick boxes are true, false or empty. Add :bool(...) with the three words to show instead, in that order:
{{marker}:bool(Yes,No,No)}shows Yes when ticked and No otherwise.{{marker}:bool(Active,Not Active,Not Active)}.
Hiding Empty Sections (Word) #
In Word templates, a section marker with :collapse:hide hides that section when there is nothing to show, for example [[rd:risk.impact/controls]:collapse:hide] above a table of controls. See Creating an Advanced Word Report.
Colours (Word) #
[[rd:risk/level:generic/colour]:merge-xml] fills a table cell with the level’s colour.
System Values #
{{(created)}}: the date and time the report was generated.{{(host-uri)}}: your Symbiant web address, useful for links. The shipped Excel templates build a link to each record with[[equals]]HYPERLINK("{{(host-uri)}}/modules/register-risks/{{data:risk/reference}}","Go to Risk").

