Configuration of a File upload control
Configure the
File upload control to suit your
requirement.
Name
|
Description
|
Auto save
|
If selected, allows files to be automatically uploaded as soon as they are selected at runtime. (Default: Clear)
The files are automatically uploaded when you click OK in the confirmation message without invoking a File
upload action.
|
Drag and drop
|
-
If selected, you can upload files using drag and drop in
TotalAgility Workspace. You can also set the
height (default: 150 px) and percentage height of a control. See
"Use viewport height" and
"Height" properties in
Design properties of a
control.
-
If clear (default), then you can use the standard browse to files and upload.
|
File selection mode
|
Indicates whether you can upload
Single or
Multiple files.
On upgrading
TotalAgility
from versions earlier to 7.3.1, the default
"File selection mode" is
"Single".
|
Store in repository
|
Indicates whether to store the uploaded files in the repository.
|
File types
|
Specify the file types to be allowed or restricted.
- Allowed (default): Allows
the specified file types to be uploaded at runtime. To specify the allowed file types, click
, enter the allowed extension, such as .png, and click
Add. Similarly, add more extensions as needed.
- Restricted: Restricts the
specified file types from being uploaded. To specify the restricted file types, click
, enter the restricted extension, such as .jpeg, and click
Add. Similarly, add more extensions as needed.
- The Allowed and Restricted file types options are only available for
desktop forms.
- If there are restricted file types when uploading the files, a
message is displayed to confirm if you want to upload the allowed file types. On confirmation, only the allowed file types are
uploaded. If you click no, no file is uploaded.
- The toggle for file types of any forms imported from a previous
version is set to restricted.
|