Created on 21 December 2019
icon_unfollowing
Login to follow
reactfilepondupload

ReactFilePondUpload

Stable version 1.3.5 (Compatible with OutSystems 11)
Uploaded on 8 Apr (11 days ago) by 
reactfilepondupload

ReactFilePondUpload

Details
A React file upload widget that allows multiple file upload, automatic upload, drag/drop, image preview, asynchronous upload and image editing that works on all browsers. It uses the awesome FilePond javascript library. https://pqina.nl/filepond/ by Rik Schennink.
Read more

A file upload widget using the awesome FilePond javascript library https://pqina.nl/filepond/ by Rik Schennink

Features

  • Multiple file upload
  • Asynchronous file upload
  • Instant or click to upload
  • Automatic file upload (no submit button required)
  • Disable submit button while files are uploading
  • Select file via browse or drag/drop
  • Image preview
  • Image editing (purchase of Doka image editing library required)
  • Restrict to specific MIME types
  • Maximum file size
  • Maximum number of uploaded files


Usage (with submit button)

  • Place an UploadBlock in a form,
  • Configure the block with a FilePondUploadConfig structure,
  • Each uploaded file is allocated a token which can be used to retrieve the file,
  • On the client side, when the submit button is clicked, get file tokens with FilePondUpload_GetTokens(). Pass these tokens to a server function to retrieve uploaded files. Then clear the upload control with client action FilePondUpload_Reset(),
  • On the server side, pass the tokens to server action FilePondUpload_GetUploadedFiles(UploadTokens) to retrieve the uploaded files.
  • Uploaded files last for 30 minutes, or until they are retrieved by FilePondUpload_GetUploadedFiles().


Usage (automatic, no submit button required)

  • Place an AutoUploadBlock in a form,
  • Configure the block with a FilePondUploadConfig structure,
  • Each uploaded file is allocated a token which can be used to retrieve the file,
  • On the client side, handle the Uploaded event, passing the Tokens parameter to a server action to process files,
  • On the server side, pass the tokens to server action FilePondUpload_GetUploadedFiles(UploadTokens) to retrieve the uploaded files.
  • Uploaded files last for 30 minutes, or until they are retrieved by FilePondUpload_GetUploadedFiles().


See the FilePondUpload_Sample for examples of how to use the widgets.

See Documentation for how to include Doka files for image editing and further detail of configuration and options.

Release notes (1.3.5)

Fixes an incorrect "File is too large" validation error where the MaxFileSize is set to zero on one page, and MaxFileSize is set to non-zero on another page.

Thanks and appreciation to Guilherme Emery de Souza and Leonardo Fernandes for identifying both the problem and the solution.

License (1.3.5)
Reviews (12)
by 
2023-07-10
in version 1.2.9
It Works well and looks visualized. !
by 
2022-08-26
in version 1.2.8
Regarding the SQL query in FilePondUpload_ChunkedFileVerify in serverActions
"SQLGetFileVerifyR_Oracle"
SELECT TOP 1
{UploadedFile}.[Id],
{UploadedFile}.[FileName],
{UploadedFile}.[NumChunks],
{UploadedFile}.[LastChunkNum],
{UploadedFile}.[FileSize],
DBMS_LOB.GETLENGTH({UploadedFile}.[BinaryContent])
FROM {UploadedFile}
WHERE {UploadedFile}.[UniqueToken] = @Token

?????????????????
SELECT
{UploadedFile}.[Id],
{UploadedFile}.[FileName],
{UploadedFile}.[NumChunks],
{UploadedFile}.[LastChunkNum],
{UploadedFile}.[FileSize],
DBMS_LOB.GETLENGTH({UploadedFile}.[BinaryContent])
FROM {UploadedFile}
WHERE {UploadedFile}.[UniqueToken] = @Token

Please delete TOP 1. It doesn't move.
by 
2021-11-29
in version 1.2.8
Exactly what I was looking for. Thank you! :)
Category
User interface, Input & forms
Support options
This asset is not supported by OutSystems. You may use the discussion forums to leave suggestions or obtain best-effort support from the community, including from  who created this asset.
Dependencies
ReactFilePondUpload has no dependencies.
Application Objects
ReactFilePondUpload has 1 AOs.
Team
Compatible with
Version 11
11.9.2 or higher
11.7.6 to 11.9.0
11.0.528 to 11.0.615
Database:
All
Asset consumers
No consumers yet.
Weekly downloads