Confluence Docs 3.1 : Displaying List of Attachments in a Page
This page last changed on Dec 07, 2009 by ggaskell.
Use Confluence's Attachments Macro to display a list of attachments that belong to the current page. It will generate a table like the image shown below. Screenshot: List of attachments from 'Attachments' macro On this page: Usage with the Macro BrowserTo insert the attachments macro into a page using the Macro Browser,
Once you've found the attachments macro, click 'insert' to add it to your page. Usage with the Wiki Markup Editor
ParametersParameters are settings for Confluence macros that allow the user to control their content or presentation. The table below lists relevant parameters for this macro.
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 and Editing Files from the Attachments MacroIf an attachment is an Office or PDF file, you will see a 'View' link as shown in the screen snippet below. Furthermore, if the attachment is an Office file, it will also have an 'Edit in Office' link. Screenshot: Office and PDF file page attachments with 'View' and 'Edit in Office' links
Click the 'Edit in Office' link to edit the content of the Office file in your Office application. You must have a compatible Office application installed to do this. Refer to Working with the Office Connector for more information. 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 the Confluence User Guide. ![]() ![]() ![]() ![]() |
![]() |
Document generated by Confluence on Dec 10, 2009 18:45 |