A file object can be displayed in a cell to allow the user to attach a file. After the user selects it, the file is immediately copied to the server into a temporary directory. Work in the form is temporarily suspended while the file is being copied. When the file upload is finished, a button appears that opens the file.
The temporary file is applied as a JobRouter attachment when the step is saved. The temporary directory for uploaded files is:
uploads/temp/Form/<workflowid>/<Elementname>
The upload form displays the name of the file after completing the upload. During Send or Save the attachFileToProcess function is called and the path to the file is conveyed.
Property |
Description |
|---|---|
Name |
Element name |
Label |
The label becomes the column header |
Info text |
Text to be displayed in the balloon |
DB field |
Selection of database fields of type: FILE |
Viewer |
Selection of the viewer that is used to open the file |
Allow Download |
When selecting Global Default Viewer, JobViewer or JobViewer 2 you can offer the user the possibility to download the document. |
Allow annotations in JobViewer |
If this option is enabled, it is possible to add annotations to the document. If it is not activated, annotations can be viewed, but not edited or added. |
OCR Processing |
Tick the checkbox if you want to use OCR processing in JobViewer 2. This option is only displayed if Global Default Viewer or JobViewer 2 was selected as viewer. |
Settings |
|
Left |
X-position of the left top corner, where the file should be opened |
Top |
X-position of the left top corner, where the file should be opened |
Width |
Window width in pixels |
Height |
Window height in pixels |
Minimum file size |
The size of the uploaded file must be at least the KB size specified herein |
Maximum file size |
The size of the uploaded file must not be larger than the KB size specified herein |
Permitted file extensions |
By default files are only checked based on the restricted data extensions list during the upload (configuration menu, security settings). If you specify further file extensions (comma-separated list) for these element properties, only files of that type can be uploaded. The priority of the security settings is higher - if a file extension is allowed for the element that is forbidden globally, the upload of such a file will not be possible further on. |
Read-only? |
The element is write-protected. |
Available in Edit mode? |
The element can still be used in edit mode. |
Disabled? |
The textbox is disabled. |
Required? |
A file must be attached in order to send the step. |
Hidden? |
The element is integrated but hidden in the view. |
Scripting |
|
OnChange |
Script to be executed when the value in the element changes |
OnClick |
Script to be executed when the element is clicked |
Color |
|
Label color |
Color of the label |