Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
maxLevel3
minLevel2
absoluteUrltrue
excludeSee also
typeflat
separatorpipe

Overview

The attachments-report macro generates a report of all the attachments on a single page.

Parameters

Parameter

Required

Default

Notes

Version

value-name

Image Removed
Image Added


The list of fields (columns) as a comma-separated list to be included in the report. This can include added metadata and internal metadata.


sort



Specifies which column in the report should be sorted by. You can include sort method such as

  • value-name desc

  • value-name desc

You can also specify how to treat the values:

  • as date (for internal date field) metadata only

  • as number

  • as string (makes sort case insensitive)


maxResults


500

Specifies the number of results to be returned.

Usage

To retrieve the metadata from matching attachments on the current page, choose the Page Attachments Report using the Confluence macro browser:

...

The number of results (default 500) can be added into to the macro editor. If required, the display of the results can be sorted on a selected column.

...

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "metadata-report-macro" and space = currentSpace ( )

Related

...

pages