Description

  • “Attachment Upload” is the new name for the Field group macro’s field named “Attachment”.

  • For more information on all field group macro’s field name changes, read the Field Group macro page.

Allows users to specify an attachment to upload, or to select a previously-uploaded attachment.

This is useful for workflows which require users to attach files such as scanned documents, receipts, photos, Word files, PDF files, etc.

Parameters

Name

Required

Default Value

Description

Field name

  • (/)

(auto-generated)

A descriptive name for this field. A random name is generated by default.

You can also key in your own field name, which can be useful when integrating Scaffolding with other apps such as Reporting for Confluence Cloud. The field name is mandatory, and must be unique.

Helper Text

  • (X)

Gives context or additional information about a field input. It will appear at the bottom of the field.

The helper text will only appear when you edit the content, not when viewing it.

Required

  • (X)

Unchecked

If checked, the user must select an attachment (mandatory) and this field cannot be empty.

Include

  • (X)

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

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

Exclude

  • (X)

Exclude any file names which match the specified regular expression. 
Example: ".*exe" for all EXE files ( as opposed to "*.exe")

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

Editor View

Not applicable.

Macro Edit View

Notes

If you enable the Required option, you will not be able to Save Changes in editor mode until you have selected an attachment or added one. An example error message is shown below. Alternatively, you can click Cancel to discard the changes.