Attachment Options

Description

Creates a set of list options linking to the attachments on the specified content.

Must be contained inside a Adding a dropdown list of users macro.

See the Using Attachments as Options guide for an example on how to use this macro.


Parameters

NameRequiredAvailable InMigratable to Cloud?Default ValueDescription
content
 Optional
Server, Data Center
No
If specified, the page or other content the files are attached to. (e.g. "SPACEKEY:Page Name".) Defaults to the current page.
include
 Optional
Server, Data Center
No

Only include file names which match the specified regular expression.
Example: ".*txt" for all text files.

Note: ".*" is a Java Regular Expression for "any character of zero or more time occurrence".

exclude
 Optional
Server, Data Center
No

Exclude any file names which match the specified regular expression.
Example: ".*gif|.*jpg" to exclude all gif and jpg files.

Note: ".*" is a Java Regular Expression for "any character of zero or more time occurrence".

Tutorial Examples