Displays a list of attachments belonging to the current space. See Displaying a List of Attachments for more information on using this and other attachment macros.

Code examples

The following examples are provided for advanced users who want to inspect or edit the underlying markup for a Confluence page. 

Macro name: space-attachments

Macro body: None.

Parameter nameRequiredDefaultParameter description and accepted values
showFilterNotrue

Determines whether or not the filter panel is shown. If you select this option, people viewing the page will be able to filter the list of attachments by file type (extension) and by label.

Accepted values:

  • true – Macro displays the filter panel.
  • false – Macro does not display the filter panel.
spaceNoCurrent space.Determines the Confluence space containing the attachments that the macro will display.

Storage format example

  <ac:structured-macro ac:name="space-attachments">
    <ac:parameter ac:name="showFilter">false</ac:parameter>
    <ac:parameter ac:name="space">
      <ri:space ri:space-key="ds"/>
    </ac:parameter>
  </ac:structured-macro>

Wiki markup example

{space-attachments:showFilter=false|space=ds}
  • No labels