globe with meridians Language: Deutsch · English

hammer and wrench Precomputing leaves in trees

Improve tree performance – use a calculated Boolean attribute to check in advance whether child nodes exist.

HOW-TO DEVELOPER UPDATED: JUL 2026 APPLIES TO NUCLOS 4.2026.X

On this page

By default Nuclos does not precompute during tree building whether a node has children – so a node gets an expand icon even if it may be empty. Only clicking reveals that there are no child nodes.

From 4.2024.9

From Nuclos 4.2024.9 (NUCLOS-10584) you can specify a calculation rule that checks before tree building whether child nodes exist.

Steps

  1. Create a data source of type calculated attribute: Boolean that determines whether children exist.
  2. Add a yes/no attribute (e.g. children) to the BO (e.g. Country) and assign the calculation rule.
  3. To test, open the BO list and show the new attribute.
  4. In the BO wizard, on the root BO (e.g. World), select the attribute children for the node (e.g. Country).

Afterwards, childless nodes no longer show an expand icon.

Related pages

gear Trees in Nuclos (explorer tree)


Trees.

Open →

  • Keine Stichwörter