File Picker
Last updated
Last updated
The File Picker will open your end user's file library and allow them to select a file. The file can then be used in the app.
You can allow your end user to upload any kind of file, or limit their selection by file type, eg. HTML, PDF, etc.
Your end users may experience lags or delays if the size of the file the try to upload is larger than 5MB
Input | Description | Data Type |
---|---|---|
type | Select the type of file you want your end user to upload | Select from list |
Output | Description | Data Type |
---|---|---|
file | Points to the file that has been uploaded | Data type of the file that has been uploaded. Can also return address of the file as text |
name | Name of the uploaded file | Text |
mime type | Describes the type of file in MIME format | Text |
size | Returns size of uploaded file in bytes | Number |
was cancelled | Indicates whether the end user cancelled selecting a file | True/False |
error | If there is an error, returns the error. Else returns | Text |