Uploading Files

    They allow users to upload files, which will be stored as a process instance variable of the type Bytes. Larger files will take longer to process and may crash the browser, so there is a soft file size limit of 5MB. You can overwrite this limit using the directive. To upload larger files without freezing the browser, see the .

    File Upload is not supported for Internet Explorer 9.

    Files can be uploaded using the cam-variable-name and directives:

    Besides uploading a file, it is also possible to present the user with a download link or displaying files as images.

    Downloading Files

    The directive turns a link into a file download link.

    The above link will allow the user to download the file stored in the variable INVOICE_DOCUMENT.

    Displaying an Uploaded Image

    If the user uploaded an image, it can be displayed using an tag. There is no special directive for this yet.However, you can make sure that the corresponding variable is fetched (either using javascript or an hidden input field) and thenuse the generated link as value for the src attribute.

    Note: the above example uses the angular js integration.