Div | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
On this page
|
Overview
Excerpt |
---|
The Attachment Table macro produces a table of attachments based on various selection criteria, including powerful space and page selection. Further customization is possible by specifying filters to select attachments by name, comment content, and labels. You can select and indicate the order in which columns are to be displayed based on their column name or number. Refer to Columns Available to Display for details. The resulting table can be customized and supports most common table capabilities. |
Tip |
---|
Depending on the selection criteria used and number of attachments, pages, and spaces that need to be processed, this could be a long running process. Choose your selection criteria carefully and consider using the Cache Macro to limit the number of times the attachment list generation needs to be done and/or the Future Macro to defer processing. The limit parameter described below can also be used to limit processing. |
Info | ||
---|---|---|
| ||
From vxvista.org: Recorded Webinars |
Basic Use
This macro can be deployed using one of the following methods:
Selected from the Macro Browser | Attachment Table |
---|---|
Markup Shortcut | {attachment-table} |
Screenshot
Parameters
Click a column heading to toggle the sorting of that column.
Refer to Using Regex Expressions To Select Attachments to learn how to form the regular expressions that are supported by several parameters below.
Table plus | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Common Parameters
Include Page info:_CommonTableCapabilitiesParametersTBL info:_CommonTableCapabilitiesParametersTBL
Anchor | ||||
---|---|---|---|---|
|
Anchor | ||||
---|---|---|---|---|
|
The Attachment Table macro allows the user to select the columns to be displayed as well as the order. A default set of columns is displayed unless an explicit list is provided. You can select and indicate the order in which columns are to be displayed based on their column name or number. Use the columns parameter to specify a comma separated list of column names or numbers.
Please note that column names are case insensitive.
In most cases the column heading can be used in place of the column name, but there are a few cases where that is ambiguous. In this case, the first column matching the heading will be used.
Default columns for single page attachments | file, size, creator, created, comment |
---|---|
Default columns for multiple page attachments | page, file, size, creator, created, comment |
Csv | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
Column\\ Number, Column\\ Name, Column\\ Heading, Description
1, page, Page, Link to page the attachment is on
2, file, File, File link to download or view
3, size, Size, Size of attachment in bytes
4, creator, Creator, User link to who added the attachment
5, created, Created, When the attachment was added
6, comment, Comment, Descriptive comment about the attachment
7, labels, Labels, Attachment labels
8, version, Version, Version number
9, type, Type, Type of attachment - simple name
10, mimetype, Mime Type, Technical mime type name
11, size2, Size, Size of attachment in KB or MB
12, modifier, Modifier, User link to who modified attachment properties
13, modified, Modified, When attachment properties were modified
14, id, Id, Confluence content id
15, space, Space, Key of the space containing the attachment
16, spacename, Space, Name of the space containing the attachment
17, pagetitle, Page, Title of the page containing the attachment
18, filename, File, File name of the attachment (not a link)
19, thumbnail, Thumbnail, Thumbnail image when the attachment is an image
20, image, Image, Image when the attachment is an image
21, location, Location, Link to the location on the page attachments list for the attachment
22, properties, Properties, Link to the attachment properties display for the attachment |
Examples
Filter by label (Content by label) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Other Macros
Below is a list of all other Macros available within this Add-on:
Filter by label (Content by label) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Additional References
Include Page | ||||
---|---|---|---|---|
|
...