Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Live template
templateTypetemplate
templateOption{"label":"Macro Reference Live Template v2","value":"477609382","templateType":"template"}
templateTypeOption{"label":"Confluence template/blueprint","value":"template"}
templateId477609382
excerptDescription Creates a set of list options linking to the attachments on the specified content. Must be contained inside a List Data  macro. See the Using Attachments as Options guide for an example on how to use this macro. Parameters Name Required Migratable to Cloud? Default Value Description content (x) No If specified, the page or other content the files are attached to. (e.g. Example: "SPACEKEY:Page Name". ) Defaults to the current page. include (x) 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 (x) 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". Editor View Not applicable. Macro Edit View Not applicable. Notes Not applicable.
fieldGroupKeys{"sk3oufj352":["net.customware.confluence.plugin.scaffolding__sk3oufj352__data_0_2lea4be3lbb9p87bual9"]}

Tutorial Examples

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "attachment-options" and space = currentSpace ( )
labelsattachment-options