Skip to main content

IPickFileOptions

Defined in: js-api/ui.ts:518

Options for pickFileFromFiles.

Properties​

PropertyTypeDescriptionDefined in
connection?DataConnectionBrowses this file share alone, as the platform's file input bound to a connection does; its root is a pick too, as a folder. A file is then picked on OK only, not by a double-click.js-api/ui.ts:523
mode?"file" | "all" | "folder"What the dialog asks for: a file (the default), a folder, or all (either). It names it in the title, and inside a connection folder lists folders only; the pick itself is not checked against it.js-api/ui.ts:526
multiple?booleanSeveral files at once: every file and folder selected on OK (Ctrl+click, Shift+click), as a list.js-api/ui.ts:520