Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Keyboard shortcuts, also known as key combinations, enable your add-in's users to work more efficiently. Keyboard shortcuts also improve the add-in's accessibility for users with disabilities by providing an alternative to the mouse.
Properties that reference this object type:
Syntax
{
"requirements": {
"capabilities": [
{
capabilities object
}
],
"scopes": [
"mail | workbook | document | presentation"
],
"formFactors": [
"desktop | mobile"
]
},
"shortcuts": [
{
"key": {
extensionKeyCombination object
},
"actionId": "{string}"
}
],
"keyMappingFiles": {
"shortcutsUrl": "{string}",
"localizationResourceUrl": "{string}"
}
}
Properties
requirements
Specifies the Office requirement sets.
Required
—
Constraints
Supported values
shortcuts
Array of mappings from actions to the key combinations that invoke the actions.
Type
Array of extensionShortcut
Required
✅
Constraints
Minimum array items: 1. Maximum array items: 20000.
Supported values
keyMappingFiles
Specifies the full URLs for shortcuts mapping and localization resource files that don't directly support the unified manifest.
Required
—
Constraints
Supported values