Skip to main content
Skip table of contents

Definition Nodes

Definition nodes are the elements to define a Report Type. A definition node has the following attributes;

Attribute

Description

Example

id

  • The id of the definition node within it’s report type

  • It is advised to use unique and meaningful id’s (e.g. for easier association of production issues)

ov_PO003_ytd

buildingBlock

  • The type of the building block to be produced

  • Read-only property set when adding the node

PO003

children

A list (array) of children (definition nodes)

parameters

The set of parameters values to be applied when evaluating the building block.

slot

The slot to be produced into

  • the parent node should produce a LayoutBB that selects a layout via the style parameter

  • Word: the slots are defined within the word layout component and referenced by name

  • Online: the number of slots of a style are built-in and the slots are referenced by order

JSON
"slot": "{left}"

enabled

  • A boolean (true/false) or expression that defines if a definition node is evaluated when processing the report

JSON
"enabled": "=params.ShowChapterXY"

iterateOver,
iterateInto

  • iterateOver: the array of values for which this node (and all it’s children) should be produced. No iteration if undefined.

  • iterateInto: the name of the parameter that will be set to the current iteration value.

JSON
"buildingBlock": "SectionBB",
"iterateOver": [ "de", "en", "fr" ],
"iterateInto": "reportLanguage",
"parameters": {
    "mainTitle": {
        "text": "This is produced for reportLanguage {1}",
        "args": [ "=params.reportLanguage" ]
    }
}
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.