The File Upload widget is used to allow users to upload one or more files as part of a form submission. This widget is recommended for scenarios that involve working with multiple files. Uploaded files can be viewed, downloaded, or removed based on the widget configuration and user permissions.
The basic properties of the widget are defined in the General tab and are as follows:
| Property | Description |
|---|---|
| Label | Text displayed to users on the form. The label identifies the purpose of the field. For example,:First name. |
| ID | Unique identifier assigned to the widget. The ID is used internally to identify the field within the form definition. For example, Text070upd. |
| Required | Determines whether users must provide a value before submitting the form. When enabled, the field becomes mandatory. |
| Read-only | Determines whether users can modify the field value. When enabled, the field is displayed but cannot be edited. |
| Colspan | Specifies how many columns the widget occupies within the form layout. Use this property to control field width and alignment within grid-based layouts. |
| Rowspan | Specifies how many rows the widget occupies within the form layout. Use this property to control field height and alignment within grid-based layouts. |
| Tooltip | Help text displayed when users hover over or select the field's help indicator. Tooltips provide additional instructions or context about the field. |
The advanced properties of the widget are defined in the Advanced tab and are as follows:
| Property | Description |
|---|---|
| Allow multiple file attachments | When enabled, allows users to upload more than one file. |
| File source | Specifies where files can be selected from. Content repository allows users to select files from a Hyland Content repository, while Local machine allows users to upload files from their device. At least one source must be selected. |
| Default folder path type |
Specifies how the default folder is determined when users browse for files. The available options are:
|
| Content Type | Specifies the content type assigned to uploaded files. Only content types that inherit from SysFile are available for selection. |
| Display show file option | Displays a View option that allows users to open and view uploaded files. For forms that contain multiple uploaded files, users must select View for each file individually. |
| Display download file option | Displays a Download option that allows users to download the uploaded files. |
| Display remove file option | Displays a Remove option that allows users to remove the uploaded files. |
You can use the Edit Attach File Permissions button to display the Edit Attach File Permissions dialog box. There you can grant or remove permissions to users and groups that will be applied to the uploaded file. The following settings are available:
| Setting | Description |
|---|---|
| user | Applies permissions to a specific named user. |
| group | Applies permissions to all members of a selected group. |
| everyone | Applies permissions to all users and groups. More specific user or group permissions override this setting, for example: you can remove the rights to edit from everyone and then add the right to edit to the COMPANY user group. In such case, everyone that is not in the COMPANY user group will not have the right to edit, but the members of that group will be able to do it. |
| logged in user | Applies permissions to the user currently accessing the form. |