The Spaces List macro displays a list of spaces, similar to the list of spaces seen on the dashboard.

Using the Spaces List macro

To add the Spaces List macro to a page:

  1. In the Confluence editor, choose Insert > Other Macros.
  2. Find and select the required macro.

Speeding up macro entry with autocomplete: Type { and the beginning of the macro name, to see a list of suggested macros. Details are in Using Autocomplete.

To edit an existing macro: Click the macro placeholder and choose Edit. A macro dialog window will open, where you can edit the parameters of the macro.

On this page:

Related pages:

Parameters

Parameters are options that you can set to control the content or format of the macro output.

Parameter

Required?

Default

Description

Scope of spaces

no

all

The view from which spaces are listed. Available options are:

  • all – All spaces in the Confluence installation.
  • category – Spaces grouped according to space categories.
  • favourite – Spaces which you have added to your favourites list.
  • new – New spaces which have been created within the last 7 days.

Width of List

no

100%

The width of the spaces list, specified as a percentage (%) of the window width.

There is a bug in this macro that prevents people from selecting a space category. For details, please refer to this issue: CONF-26597 - Changing category in Space List macro generates wrong URL ( Resolved)

Code examples

See: