capture-file (legacy docs)
These capture-file
docs are out of date
New functionality and features were added to capture-file
in version 4.80.0 of the JourneyApps Runtime. Please refer to the latest docs here.
The Capture File component allows users to upload a file from the device.
Container compatibility
The capture-file
component currently only works on the Windows JourneyApps Container version 4.6 and higher, and Android and iOS from from 4.43 and higher.
Example
Configuration
The <capture-file>
tag accepts the following configuration options:
Option | Required | Details |
---|---|---|
| required | Variable/field in which to store the file. Must be a variable or field of type |
| required | Text to display on the capture-file component before a file is selected. It can be a format string to make the text dynamic. If not specified, defaults to the value of the field specified in |
| optional |
|
| optional | The JavaScript/TypeScript function call to be performed when the file is captured. (Added with v4.40.5 of the JourneyApps Container) |
| optional | Controls whether the component is hidden or shown. The argument specified to |
| optional | The opposite of |
Last updated