Confluence Docs 2.10 : Displaying List of Attachments in a Page
This page last changed on Dec 02, 2008 by edawson.
Use Confluence's Attachments macro to display the list of attachments that belong to a page. On this page: Error formatting macro: toc: java.lang.NullPointerException
Usage
Optional Parameters
Examples1. Filter Attachments by File Name{attachments:patterns=.*jpg,.*gif} Use a comma-separated list of regular expressions to specify the filenames of the attachments you want displayed.
Here's a detailed tutorial on regular expressions. 2. Include Old Attachments
{attachments:old=true}
An optional true/false value determines whether to show old versions of attachments. This is set to false by default. Viewing the List of AttachmentsWhen you view the page, you will see a list of attachments. When the attachment is an Office document, you will see a 'View' link as shown in the screen snippet below. Screenshot: List of attachments from 'Attachments' macro, including Office documents with 'View' link
Attachment Information IconWhen a page you are viewing contains attachments, a small paperclip icon like this: RELATED TOPICSWorking with Attachments Overview Take me back to Confluence User Guide ![]() ![]() ![]() ![]() |
![]() |
Document generated by Confluence on Dec 03, 2008 15:15 |