Div | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
On this page
|
...
Tabs | Macro editor label | Default | Description | Macro parameter | |
---|---|---|---|---|---|
Page filtering | Source | current page | Select the available source of a page from which you can fetch the attachments.
| attachmentSource | |
Filter by space key or space name | Enter a regular expression (regex) to match with space keys or space names. Used in combination with the Page name regex parameter to select pages from which attachments are to be chosen. If left blank, the Page to list attachments from parameter is required. The following options indicate:
| spaceRegex | |||
Include personal spaces | Off | Enable to control whether personal spaces matching Space key or space name regex are to be included or not, to process and render attachments from the specified spaces. | includePersonalSpaces | ||
Filter by page name | Enter a regular expression (regex) pattern to match on page names (titles). Used in combination with the Space key or space name regex parameter to select pages from which attachments are to be chosen. | pageRegex | |||
Filter by page label | Enter a regular expression (regex) pattern match on page labels. Used in combination with the Page name regex and Space key or space name regex parameters to select pages from which attachments are to be chosen. Pages must match with every selection criteria. | pageLabelRegex | |||
Attachment filtering | Attachment name regex | Enter a regular expression (regex) pattern to match on attachment names. Used in combination with the Attachment comment regex and Attachment label regex parameters to select attachments. Attachment must match with every selection criteria. | attachmentRegex | ||
Attachment comment regex | Enter a regular expression (regex) pattern to match on attachment comments. Used in combination with the Attachment name regex and Attachment label regex parameters to select attachments. Attachment must match with every selection criteria. | commentRegex | |||
Attachment label regex | Enter a regular expression (regex) pattern to match on attachment labels. Used in combination with the Attachment name regex and Attachment comment regex parameters to select attachments. Attachment must match with every selection criteria. Matching technique is determined using the Label match option parameter. | labelRegex | |||
Label match option | single | Specify the manner in which to apply the Attachment label regex parameter (for attachments) and the Page label regex parameter (for pages) when looking for matching labels. The options are:
| labelMatchOption | ||
Data settings | Columns to display | default columns | Enter a comma-separated list of column names or numbers in any order. When blank, a default set of columns is shown. Columns are enumerated starting at 1. See Columns available for display below for a list of columns. | columns | |
Text to display when no attachments match | Enter the text to be displayed when no attachments are found that match the given search criteria. If left blank, no text is displayed if no attachments are found. | textForNone | |||
Date format | Confluence default | Enter a date format to format the dates in the created and modified columns. Use a simple date format string. | dateFormat | ||
Limit number of attachments to retrieve | The default value is the admin-configured value for the parameter: Global Configuration > Maximum attachments to process. | Enter the number of attachments that the macro must retrieve.The default value is the admin-configured limit for the parameter Maximum attachments to process in Global Configuration. The field description displays the admin-configured value in Global Configuration.
| limit | ||
Retrieve attachments from child pages | false | Enable this option to list the child page attachments of the specified page in Space and Page parameters in the Page filtering tab. By default, only the attachments on the specified page are displayed.
| fromAllChildPages |
...