Multiple File Upload and Download Controls
- 17 Oct 2022
- 1 Minute to read
- Print
- DarkLight
This documentation version is deprecated, please click here for the latest version.
Multiple File Upload and Download Controls
- Updated on 17 Oct 2022
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
The Multiple File Upload/Download control allows end-users to upload or download multiple files at runtime. The inputs received from the Form control can be mapped in a Flow by defining the data as FileData or a File References datatype. When a document is uploaded into Decisions through a Flow, there is no native scan to ensure that the file uploaded is not malicious. To help ensure Decisions is secure, certain file types can be excluded.
Configuration
- In a Designer Project, create a Flow.
- In the Toolbox panel, attach a Show Form step to the Start step. On the Properties panel, click PICK OR CREATE FORM and create a Form.
- Configure the Form with a Button (Submit) and a Multiple File Upload control (files). On the Properties panel, change the OutputType field to FileReference.
- Click Save and close the Form Designer, then Debug the Flow. Pass in example files, any files passed in will have their name outputted from the step.
Multiple File Control Properties
Below is an overview of the Common Properties section for the control. Most of the properties found here are shared between File Upload and File Upload Area controls.
Settings | Description | |
---|---|---|
Name | The name for the control when added to the Form. This is used in the Tab Editor section to locate the control on the Form. | |
Button Type | Allows the user to specify whether the button control is displayed as a Button, Link, or Clip | |
Data Name | The name of the data source used by the control. This will appear as an output to the Form step. | |
Output Type | The OutputType of the uploaded file. This will determine what items will be passed out of the Form step. | |
Specify Max File Size | If checked, an option to set max file size will be available. | |
Max FileSize | Sets the max file size for the control. | |
Specify Inputs | Allows inputs to be specified for the control. The type for the input is determined by the OutputType. | |
Specify Allowed Extensions | If checked, controls what file extensions are allowed to be passed/used by the control. | |
Allow Extensions (Extensions Name Without Dot) | Allows the user to specify file extensions | |
Specify Extension From Flow | If checked, it provides an option where only certain extensions can be passed to the control. | |
Horizontal Alignment | Sets the horizontal alignment of the control | |
Vertical Alignment | Sets the vertical alignment of the control | |
Invalid Extension Message | Specifies the text displayed when an invalid extension is passed to the step. | |
File Label | Defines the label text that appears on the control | |
Override Required Message | If enabled, allows the required message to be overridden. |
For further information on Forms, visit the Decisions Forum.
Was this article helpful?