Context Menu 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.
Use the Context Menu API requirement set to configure the availability of custom items on a context menu in Office.
ContextMenuApi 1.1
is supported in Excel, PowerPoint, and Word. The following table lists the minimum builds or versions for these applications, where applicable.
Requirement set | Office on the web | Office on Windows (Microsoft 365 subscription) |
Office on Windows (retail perpetual) |
Office on Windows (volume-licensed perpetual) |
Office on Mac | Office on iOS | Outlook on Android |
---|---|---|---|---|---|---|---|
ContextMenuApi 1.1 | Supported | Version 2502 (Build 18526.20144) | Version 2502 (Build 18526.20144) | Not supported | Version 16.94 (25020927) | Not supported | Not supported |
To find out more about versions and build numbers, see:
- Version and build numbers of update channel releases for Microsoft 365 clients
- What version of Office am I using?
Office Common API requirement sets
For information about Common API requirement sets, see Office Common API requirement sets.
ContextMenuApi 1.1
To learn how to programmatically configure the availability of custom items on a context menu, see Change the availability of add-in commands. For details about the API, see Office.ContextMenu.
See also
Office Add-ins