編輯

共用方式為


Open Browser Window API requirement sets

Requirement sets are named groups of API members. Office Add-ins use requirement sets specified in the manifest or use a runtime check to determine whether an Office application supports APIs that an add-in needs. For more information, see Office versions and requirement sets.

The OpenBrowserWindow API set enables add-ins to open a browser to accomplish tasks that cannot always be done in the sandboxed webview control within the add-in itself; for example, downloading a PDF file when the webview control is provided by Microsoft Edge.

Office Add-ins run across multiple versions of Office. The following table lists the OpenBrowserWindow API requirement sets, the supported Office client applications, and the minimum builds or versions for those applications where applicable.

Requirement set Office on the web Office on Windows
  • Microsoft 365 subscription
  • retail perpetual
Office on Windows
  • volume-licensed perpetual
Office on Mac Office on iOS Outlook on Android
OpenBrowserWindowApi 1.1 Not supported Version 1810 (Build 11001.20074) Office 2021: Version 2108 (Build 14326.20454) Version 16.0 Excel, PowerPoint, Word (iPad only): Version 16.0 Not supported

Important

The OpenBrowserWindowApi 1.1 requirement set is only available as follows:

  • Excel, PowerPoint, Word: Windows, Mac, iPad
  • Outlook: Windows, Mac

To find out more about versions and build numbers, see:

Office Common API requirement sets

For information about Common API requirement sets, see Office Common API requirement sets.

OpenBrowserWindowApi 1.1

The OpenBrowserWindowApi 1.1 is the first version of the API. For details about the API, see the Office.context.ui reference topic.

See also