File Chooser

Quickform node that allows choosing single or multiple files, workflows or directories from a remote mountpoint and exposing those items in a data table. The first selected item is exposed as a flow variable as well.

The node supports custom CSS styling. You can simply put CSS rules into a single string and set it as a flow variable 'customCSS' in the node configuration dialog. You will find the list of available classes and their description on our documentation page.

Options

Label
A descriptive label that will be shown in, for instance the WebPortal.
Description
Some lines of description that will be shown in the remote control form, for instance by means of a tooltip.
Hide in Dialog
If the setting should be hidden in the wrapped metanode dialog.
Variable Name
Variable and table column identifier.
Parameter Name
Parameter identifier for external parameterization (e.g. batch execution).
Selection Types
Set the items that are going to be available for selection.
Output selected item type
Enabling this option will append a second column to the output table containing the type of the selected items. Also a second flow variable containing the type of the first selected item is created. Possible values are DATA, WORKFLOW and DIRECTORY.
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.
Allow multiple selection
Option to enable or disable the selection of multiple items. If unchecked only one item can be selected.
Use default mount id of target
Setting this option will query the mount id of the server the node is running on for creating absolute paths to the selected items. If unchecked a custom mount id can be provided.
Custom mount id
A custom mount id to be included in the absolute paths to the selected items.
Root Path
An optional root path to only make items contained within this given directory available for selection.
Default File
The default file to be output during configure and design time. If the path to the default file is present remotely as well, the file will be preselected in the view.

Input Ports

This node has no input ports

Output Ports

Icon
Data table containing the selected files and types.

Views

Interactive View: File Chooser
View containing the file chooser component. View selection is only possible remotely.

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.