Home Explore Blog CI



docker

content/reference/api/extensions-sdk/OpenDialogResult.md
300c0a9a78c6b65d0692afabb0a74e66349d9f9422bcfb970000000300000354
---
title: "Interface: OpenDialogResult"
description: Docker extension API reference
keywords: Docker, extensions, sdk, API, reference
aliases:
 - /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.

Chunks
8c3c91d3 (1st chunk of `content/reference/api/extensions-sdk/OpenDialogResult.md`)
Title: OpenDialogResult Interface Documentation
Summary
This document describes the `OpenDialogResult` interface, part of the Docker extension API since version 0.2.3. It details the properties of the interface, including `canceled` (a boolean indicating if the dialog was cancelled), `filePaths` (an array of file paths selected by the user), and `bookmarks` (an optional array of base64 encoded security scoped bookmark data, available only on macOS when `securityScopedBookmarks` is enabled).