A FILE object for attaching files is displayed in the form. After selecting a file, it is immediately copied to the server in a temporary directory. While transferring the file, no changes can be made to the form. After the file has been uploaded, a button will appear, which will open the file. Only after saving the step, the file is taken from the temporary directory as a JobRouter attachment.
The temporary directory for uploaded files is
uploads/temp/Form/<workflowid>/<Elementname>
Property |
Description |
|---|---|
Name |
Element name |
Label |
Label that will appear in the left column |
Info text |
Text to be displayed in a 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 upper left corner where the file should be opened |
Top |
Y-position of the upper left corner where the file should be opened |
Width |
Width of the window in pixels |
Height |
Height of the window in pixels |
Minimum file size |
The uploaded file size must be at least this many KB |
Maximum file size |
The uploaded file size must not be more than this many KB |
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 can still be used in the read-only mode. |
Available in edit mode? |
The button can be enabled via the edit box, when the form is displayed. |
Disabled? |
The input field is disabled.
Please note that functions of the JavaScript API (e.g. jr_set_value) do not have any effect on saving this value by enabling this option. |
Required? |
An entry is necessary here to forward 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 |