This documentation relates to an earlier version of Confluence.
View this page in the current documentation or visit the current documentation home.

Displaying List of Attachments in a Page

Skip to end of metadata
Go to start of metadata
All Versions
Table of Contents

Use Confluence's Attachments macro to display the list of attachments that belong to a page.

Attachments macro

What you need to type

What you will get

{attachments}

  Name Size Creator Creation Date Labels Comment  
JPEG File harbour3.jpg 93 kB Vidya Madabushi Aug 09, 2005
  • None
 
PNG File editProfile.png 33 kB Vidya Madabushi Aug 09, 2005
  • None
 
PNG File mail-next.png 0.9 kB Vidya Madabushi Aug 09, 2005
  • None
 
JPEG File office1.jpg 94 kB Vidya Madabushi Aug 09, 2005
  • None
 
JPEG File waterfall.jpg 1.27 MB Vidya Madabushi Aug 09, 2005
  • None
 




Optional parameters

Filter attachments by name

Use a comma-separated list of regular expressions to specify the file format/s of the attachments you want displayed.


Include old attachments

An optional true/false value determines whether to show old versions of attachments. This is set to false by default.

Note

The patterns are regular expressions, so to match a file suffix of 'jpg', use .*jpg, not *.jpg.

Here's a detailed tutorial on regular expressions.

RELATED TOPICS

Working with Attachments Overview
Working with Macros

Take me back to Help Home

Labels
  • None



Log a request with our support team.



Raise an issue for our developers.



See answers from the community.



Tweet, blog and update our documentation.

Except where otherwise noted, content in this space is licensed under a Creative Commons Attribution 2.5 Australia License.