Space Information — Confluence Cloud Macro
This macro generates a table that displays information about the current Confluence space, including its type, status, and creation date. It also provides links to the space summary, permissions, and calendar. The data is populated dynamically using space variables like $space.name, $space.type, and $space.createdAt.
User Parameters
This macro comes without configurable user parameters.
Template
#set ($format = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'")
<table class="aui aui-table-list">
<thead>
<tr>
<th colspan="6">$space.name space</th>
</tr>
<tr>
<th>Type</th>
<th>Status</th>
<th>Created</th>
<th colspan="3">Links</th>
</tr>
</thead>
<tbody>
<tr>
<td>$space.type</td>
<td><span class="aui-lozenge aui-lozenge-subtle aui-lozenge-success">$space.status</span></td>
<td>$DateUtils.parseDate($space.createdAt, $format)</td>
<td><a href="$baseUrl/spaces/viewspacesummary.action?key=$space.key">details</a></td>
<td><a href="$baseUrl/spaces/spacepermissions.action?key=$space.key">permissions</a></td>
<td><a href="$baseUrl/spaces/$space.key/calendars">calendar</a></td>
</tr>
</tbody>
</table>Recommended Macros
This macro allows user to retrieve all pages from current space despite limitation of 250 pages per request
Display page edit and view restrictions in Confluence to get essential permission details, including users, groups, and inherited access.
Shows page creation date
An overview of all pages within one space which contains the title, the version, and the last updated date
Perform text searches within pages, blog posts, and attachments.
The content of this macro will not go to the printing page
Content that is shown only if a user is in a particular group
Get the latest cryptocurrency rates for major coins.