You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 32 Next »

Macro Code

{attachments:patterns=.*png, .*jpg, etc|old=true|sortBy=name|upload=true}

Parameters

Name

Required

Default

Description

patterns

all

Filters the attachments to display, using a comma-separated list of regular expressions. So, to match a file suffix of 'jpg', use .*jpg, not *.jpg.

sortBy

date

Specifies the sort order for attachments. Note that people viewing the page can change the sort order by clicking the column headings. Valid values are:

  • date - sorts by reverse chronological order (newest first)
  • size - sorts largest to smallest
  • name - sorts alphabetically.

old

false

Include previous attachment versions in the list.

upload

false

Provides the ability to browse for, and attach, new files.

Result

No files shared here yet.
  • No labels