Space Property Variable Macro
Introduction
The Space Property Variables feature allows you to reference properties created within a Confluence space. This functionality simplifies the creation of space templates and the management of dynamic variables based on the context of the space.
Why Reference Variables from Pages in Confluence?
Referencing variables from pages in Confluence offers several advantages:
Consistency: Ensures uniformity across documents by centralizing variable management.
Efficiency: Streamlines updates, as changes to a variable are automatically reflected wherever the variable is used.
Scalability: Facilitates the use of templates, making it easier to replicate spaces with consistent settings and content.
Contextual Relevance: Allows variables to adapt based on the specific context of each space, enhancing the relevance and accuracy of your content.
By leveraging Space Property Variables, you can maintain organized, up-to-date, and contextually appropriate documentation with minimal effort.
Finding the macro in the Confluence macro navigator
Maybe you’re already a Confluence guru and know the ease of the macro navigator.
However, for those who early in the Confluence journey, here is a quick guide. Click as below and write Space Property Variable (Space Crafter). You can also Click View more and click Confluence content and Click on Space Property Variable (Space Crafter)
Configuration
After adding the macro, you need to configure it. You must define the key of the property you want to fetch. By default, the macro will render the property as text, but you have the option to render it as a link.
If you choose to render it as a link, you have the option to define a link text. If the link text is not choose it will just show the link directly.
If the Key is empty, then the macro will show as No KEY defined.
If the key is defined but no value could be fetched then the macro will show as NO VALUE.