This site has moved to the integrated Appfire documentation and information site for our apps.

From February 2024 this site is no longer updated.

Take a look here! If you have any questions please email support@appfire.com

space-hierarchy macro

Overview

The space-hierarchy macro displays on the page the hierarchy beneath the current space. This will be displayed as a tree representation of the hierarchy.

The space hierarchy is defined using the parent-space macro added to each child space.

You can show the hierarchy beneath a different space using the space argument.

Parameters

Parameter

Required

Default

Notes

Parameter

Required

Default

Notes

space

 

Current space

  • sets the space to use as the root space for the hierarchical display

  • value can be the spacekey or  ~<spacename>

The hierarchical root space is displayed as the root space in the tree representation on the page.

Usage

Add the Space Hierarchy macro to a page in a space using the Confluence macro browser.

In the macro editor preview, any spaces set as a child of the root space using the parent-space macro will be displayed in the tree representation.

If the Space key box is left blank, the current space is displayed as the root space. In our example this is the Human Resources space.

If required add the spacekey to set the root space for the tree representation.

Reference Markup

{space-hierarchy:space=tdt}

Where the space parameter value defines the root space for the tree representation.

Related Macros

Related Documentation