You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[All Hosts] (ui) remove 'default' verbiage from add-in commands (#5254)
* [All Hosts] (ui) remove 'default' verbiage from add-in commands
* better structure Outlook exception
* Apply suggestions from code review
Co-authored-by: Sam Ramon <[email protected]>
---------
Co-authored-by: Sam Ramon <[email protected]>
Copy file name to clipboardExpand all lines: docs/design/add-in-commands.md
+13-7Lines changed: 13 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: Basic concepts for add-in commands
3
3
description: Learn how to add custom ribbon buttons and menu items to Excel, Outlook, PowerPoint, and Word as part of an Office Add-in.
4
-
ms.date: 05/19/2025
4
+
ms.date: 06/27/2025
5
5
ms.topic: overview
6
6
ms.localizationpriority: high
7
7
---
@@ -39,21 +39,24 @@ There are two types of add-in commands, based on the kind of action that the com
39
39
40
40
## Location of add-in commands
41
41
42
-
When a user installs an add-in, the location of its commands depends on the application, platform, and context. Add-in commands are found on the ribbon, in a default or custom tab, or on an action bar (only applies to certain Outlook platforms). They appear in the UI as a button or an item in a drop-down menu.
42
+
When a user installs an add-in, the add-in's commands are found on the ribbon, in a built-in Office tab or a custom tab that is specified in the manifest. (You can also put add-in commands on a [custom contextual tab](#contextual-tabs) that your add-in code defines at runtime.) They appear in the UI as a button or an item in a drop-down menu.
43
+
44
+
> [!NOTE]
45
+
> On certain Outlook platforms, the commands are on an action bar rather than the ribbon.
43
46
44
47
For add-in commands that appear on the ribbon, if you're using the simplified ribbon layout, the add-in name is removed from the app bar. Only the add-in command button on the ribbon remains.
45
48
46
49
As the ribbon or action bar gets more crowded, add-in commands are displayed in the overflow menu. Commands for the same add-in are usually grouped together.
47
50
48
51
### Excel, PowerPoint, and Word
49
52
50
-
The default tab depends on the application and context. For Excel, PowerPoint, and Word, the default tab is **Home**.
53
+
The following shows an example of add-in commands in a custom group on the **Data** tab of the Excel ribbon.
51
54
52
55

53
56
54
57
### Outlook
55
58
56
-
For Outlook, the default location of an add-in command is based on the platform and current Outlook mode. For guidance, see [Use add-ins in Outlook](https://support.microsoft.com/office/1ee261f9-49bf-4ba6-b3e2-2ba7bcab64c8).
59
+
For Outlook, when you want an add-in command on a built-in ribbon tab, rather than creating your own, the command will appear on the default tab based on the platform and current Outlook mode. For guidance, see [Use add-ins in Outlook](https://support.microsoft.com/office/1ee261f9-49bf-4ba6-b3e2-2ba7bcab64c8).
57
60
58
61
### Drop-down menu
59
62
@@ -67,7 +70,10 @@ The following command capabilities are currently supported.
67
70
68
71
### Extension points
69
72
70
-
- Ribbon tabs - Extend built-in tabs or create a new custom tab. An add-in can have just one custom tab.
73
+
- Ribbon tabs - Extend built-in tabs or create a new custom core tab. An add-in can have just one custom core tab. (You can also put add-in commands on a [custom contextual tab](#contextual-tabs).)
74
+
75
+
> [!NOTE]
76
+
> For Outlook, custom tabs are only supported in classic Outlook on Windows. In Outlook on the web, on Mac, and in the new Outlook on Windows, you can put custom groups of controls on one of the built-in ribbon tabs instead.
71
77
- Context menus - Extend selected context menus.
72
78
73
79
### Control types
@@ -82,7 +88,7 @@ You can specify whether the command is available when your add-in launches, and
82
88
> [!NOTE]
83
89
> This feature isn't supported in all Office applications or scenarios. For more information, see [Change the availability of add-in commands](disable-add-in-commands.md).
84
90
85
-
### Position on the ribbon (preview)
91
+
### Position on the ribbon
86
92
87
93
You can specify where a custom tab appears on the Office application's ribbon, such as "just to the right of the Home tab".
88
94
@@ -98,7 +104,7 @@ You can insert the built-in Office ribbon buttons into your custom command group
98
104
99
105
### Contextual tabs
100
106
101
-
You can specify that a tab is only visible on the ribbon in certain contexts, such as when a chart is selected in Excel.
107
+
You can specify a custom contextual tab; that is, a tab that is only visible on the ribbon in certain contexts, such as when a chart is selected in Excel.
102
108
103
109
> [!NOTE]
104
110
> This feature isn't supported in all Office applications or scenarios. For more information, see [Create custom contextual tabs in Office Add-ins](contextual-tabs.md).
0 commit comments