Local File Browser Configuration

Allows selecting a local file and exposing it using a flow variable. Variable output representing the file path as variable. In case an absolute file path is selected the node will populate three variables: one representing the path, one representing the URL and one representing the URL as a path variable. If a URL is selected as default file only the URL variable and the URL(path) variable are defined.

Options

Label
A descriptive label that will be shown in the dialog.
Description
Some lines of description that will be shown for instance in the node description of the component exposing a dialog.
Parameter Name
Parameter identifier for external parameterization (e.g. batch execution). This will also be the name of the exported flow variable.
Valid File Extensions
A list of file extensions that is used as filter in the file browser (not only the one in the "Default File" option but also in a remote file browser), e.g. ".csv,.csv.gz" will filter for files ending with ".csv" or ".csv.gz". Leave empty to accept any file.
Default File
The file that will be used during design time, i.e. when no file is provided by a component dialog.
It is possible to enter a URL here. This can be useful if a default file is to be addressed with the knime:// protocol (e.g. knime://knime.workflow/../data/file.csv) or if the file is present on a remote server.
Timeout
The time in seconds after which the connection times out. The timeout is used when testing the existence of default files. The default is set to 1 second and should be sufficient in most cases.

Input Ports

This node has no input ports

Output Ports

Icon
Variable output representing the file path as variable. In case an absolute file path is selected the node will populate three variables: one representing the path, one representing the URL and one representing the URL as a path variable. If a URL is selected as default file only the URL variable and the URL(path) variable are defined. Additionally the original file name is retained as a flow variable.

Views

This node has no views

Workflows

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.