Skip to main content

Open File Picker

This node opens a file picker dialog. Noodl uses the system file picker dialog, meaning it works seamlessly with the users native device experience.

You can define what file types are allowed to be uploaded. This is done by entering a string of file types: each item needs to start with a period (.) and be separated by a comma (,). Leave the list blank if you want to accept any file type.

Inputs

SignalDescription
OpenSend a signal to this input to open the file picker.
DataDescription
Accepted file typesA comma separated list of file types that the user can select. Leave blank to accept any file type.

The file type can be specified as a filename extension, starting with a period. E.g. .png, .json or .png, .jpg.

The type can also be specified as a MIME type. E.g. image/*, image/png or video/mp4.

Outputs

DataDescription
FileA web file API Object. A File object. This can be used uploaded via Upload File, sent as a part of a REST call, processed in a Function node, used together with modules, or other tasks.

Metadata

DataDescription
PathThe local path to the file.
NameName of the file, without the path.
Size in bytesTotal size of the file in bytes.
TypeThe file type
SignalDescription
SuccessTriggered when the user has selected a file