---
title: "Using metadata to define space hierarchies"
canonical: "https://support.appfire.com/space/COMALACM/656578613/Using%20metadata%20to%20define%20space%20hierarchies"
format: markdown
---
> Macro (aura-html)

## Overview

Comala Metatadata App provides support for the[ creation of hierarchical spaces](https://appfire.atlassian.net/wiki/spaces/COMALACM/pages/656676531) through space metadata.

> Macro (excerpt)
> 
> Create a hierarchy of spaces through space metadata to visually group spaces

<span style="color: #333333">By default, Confluence provides a flat list of spaces, but as your wiki grows this becomes harder and harder to manage.</span>

<span style="color: #333333">The Comala Metadata App allows you to create new parent spaces and to parent other spaces into it.</span>

- <span style="color: #333333">you simply attach a single piece of space metadata to the home page of the space indicating the key of its parent space</span>

<span style="color: #333333">The metadata is used to visually group spaces, but does not affect the existing Confluence permissions schemes.</span>

## [Defining space hierarchies](https://appfire.atlassian.net/wiki/spaces/COMALACM/pages/656676531)

<span style="color: #333333">The Comala Metatadata App allows you to attach a single piece of space metadata to the home page of the space indicating the key of its parent space to create a hierarchy for the space. This allows the grouping of spaces in your instance rather than the Confluence default flat listing fo spaces.</span>

<span style="color: #333333">The process requires the definition of a root space (with an option for a defined user space) alongside the addition of metadata to set the hierarchy. </span>

<span style="color: #333333">The </span>[Comala Metadata App](https://appfire.atlassian.net/wiki/spaces/COMALACM/pages/656675586) includes a number of additional macros (see below) to support the [creation of hierarchical spaces](https://appfire.atlassian.net/wiki/spaces/COMALACM/pages/656676531). 

> Macro (contentbylabel)

## Related Comala Metadata Macros

> Macro (children)

## Related documentation

- [Using metadata to define space hierarchies](https://appfire.atlassian.net/wiki/spaces/COMALACM/pages/656676531)
- [Adding metadata to a space](https://appfire.atlassian.net/wiki/spaces/COMALACM/pages/655988362)
- [Retrieving and displaying space metadata](https://appfire.atlassian.net/wiki/spaces/COMALACM/pages/655758622)
- [Confluence Internal Metadata](https://appfire.atlassian.net/wiki/spaces/COMALACM/pages/656578765)