Attachment Element Properties

The Attachment element enables you to attach files or documents to a form.

Attachments added to a Form during the workflow are visible on the Documents page, within the Supporting Documents field.

Attachment elements can be used in repeating elements, but cannot be used in repeating elements which are contained within another repeating element such as a nested repeating table.

Back to Form Elements

Related topic: Element Properties

Property Description

Name

Name of the control.

Binding Name

Name of the binding.

Allow Deletion

Enables the deletion of files that have been uploaded previously. Default value is True.

Allow Replacement

Enables the replacement of files that have been uploaded previously. Default value is True.

Allow Update

Enables you to update files. Default value is True.

Hide Existing

Hides the attachments that have been uploaded previously. Default value is False.

Include Inline

Allows the attachments in the form to be displayed inline in the form. Default value is False.

If an attached .log file is not displayed in Internet Explorer 11/Edge, add the mime type ".log" in IIS with the value "text/plain," or change the .log file extension to .txt.

Require Review

Requires that the user click on the attachments and view them before they can proceed. Default value is False.

Maximum

The maximum number of attachments allowed for the form to be submitted.

Minimum

The minimum number of attachments required to submit the form.

Message

The message to display if the minimum or maximum requirement is not met.

Inline Width

Width of the pane in which the attachment is opened within in the Form ("inline") . Works only when the Include Inline property is set to True. Also specify Inline Height.

Inline Height

Height of the pane in which the attachment is opened within in the Form ("inline") . Works only when Include Inline property is set to True. Also specify Inline Width.

Note:

Attachment control also respects the following Configuration Options/Keys: 

AttachmentControlValidationType – Standard behavior searches the file name for known illegal characters, and then present an error if a file name contains those characters.

AttachmentControlValidationRegExp – Regular expression to use with custom Attachment Control validation. Defaults value is ^([a-zA-Z0-9_ ]+\.?)+$

If you are using the Attachment Control Upload Document to SAP, then make sure the Attachment Control is part of Repeating Table (having FILE_BYTES column). Attachment Control to upload document to SAP cannot be placed outside Repeating Table, as binding of non-repeating and repeating field cannot be same, for example FILE_BYTES.