Space Attachments Macro

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 name Required Default Parameter description and accepted values
showFilter No true

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.
space No Current 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"/>

Wiki markup example


Was this helpful?

Thanks for your feedback!

Why was this unhelpful?

Have a question about this article?

See questions about this article

Powered by Confluence and Scroll Viewport