docs/content/reference/api/extensions-sdk/OpenDialogResult.md

852 B

title description keywords aliases
Interface: OpenDialogResult Docker extension API reference Docker, extensions, sdk, API, reference
/desktop/extensions-sdk/dev/api/reference/interfaces/OpenDialogResult/
/extensions/extensions-sdk/dev/api/reference/interfaces/OpenDialogResult/

Since

0.2.3

Properties

canceled

Readonly canceled: boolean

Whether the dialog was canceled.


filePaths

Readonly filePaths: string[]

An array of file paths chosen by the user. If the dialog is cancelled this will be an empty array.


bookmarks

Optional Readonly bookmarks: string[]

macOS only. An array matching the filePaths array of base64 encoded strings which contains security scoped bookmark data. securityScopedBookmarks must be enabled for this to be populated.