Home Explore Blog CI



docker

1st chunk of `content/reference/api/extensions-sdk/OpenDialogResult.md`
8c3c91d3b55acbb60c731a6251de1fbe98c22e0cd1ad37110000000100000354
---
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.

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).