- 14 Oct 2022
- 2 Minutes to read
Multiple File Upload and Download Controls
- Updated on 14 Oct 2022
- 2 Minutes to read
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.
- 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.
|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.|
|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.|
|Specify Extension From Flow||If checked, it provides an option where only certain extensions can be passed to the control.|
|Allow Extensions Data Name||Specifies the object used to retrieve the data that will be passed to the control. If an object matches the OutputType, it can be selected using Pick From Data. For Data Flows, the Pick From Data option will be available if an output matches the OutputType|
The name must be manually added to the textbox for Active Form Flows.
|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.|