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
Copy file name to clipboardExpand all lines: docs/includes/outlook-preview.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -96,3 +96,5 @@
96
96
||[loadItemByIdAsync(itemId: string, options: Office.AsyncContextOptions, callback: (asyncResult: Office.AsyncResult<LoadedMessageCompose \| LoadedMessageRead>) => void)](/javascript/api/outlook/office.mailbox#outlook-office-mailbox-loaditembyidasync-member(1))|Loads a single mail item by its Exchange Web Services (EWS) ID.|
97
97
|[MessageRead](/javascript/api/outlook/office.messageread)|[display](/javascript/api/outlook/office.messageread#outlook-office-messageread-display-member)|Gets an object to temporarily set the content displayed in the body or subject of a message in read mode.|
98
98
|[SmartAlertsEventCompletedOptions](/javascript/api/outlook/office.smartalertseventcompletedoptions)|[errorMessageMarkdown](/javascript/api/outlook/office.smartalertseventcompletedoptions#outlook-office-smartalertseventcompletedoptions-errormessagemarkdown-member)|When you use the {@linkhttps://learn.microsoft.com/javascript/api/outlook/office.mailboxevent#outlook-office-mailboxevent-completed-member(1) | completed method} to signal completion of an event handler|
99
+
|[SpamReportingEventCompletedOptions](/javascript/api/outlook/office.spamreportingeventcompletedoptions)|[commandId](/javascript/api/outlook/office.spamreportingeventcompletedoptions#outlook-office-spamreportingeventcompletedoptions-commandid-member)|When you use the {@linkhttps://learn.microsoft.com/javascript/api/outlook/office.mailboxevent#outlook-office-mailboxevent-completed-member(1) | completed method} to signal that a reported message has finished processing,|
100
+
||[contextData](/javascript/api/outlook/office.spamreportingeventcompletedoptions#outlook-office-spamreportingeventcompletedoptions-contextdata-member)|When you use the {@linkhttps://learn.microsoft.com/javascript/api/outlook/office.mailboxevent#outlook-office-mailboxevent-completed-member(1) | completed method} to signal that a reported message has finished processing,|
title: CommandSurface element in the manifest file
3
+
description: Defines the custom tab and ribbon buttons of a module extension add-in in classic Outlook on Windows.
4
+
ms.date: 02/27/2025
5
+
ms.localizationpriority: medium
6
+
---
7
+
8
+
# CommandSurface element
9
+
10
+
Defines the custom tab and ribbon buttons of a module extension add-in in classic Outlook on Windows. For more information about module extensions, see [Module extension Outlook add-ins](/office/dev/add-ins/outlook/extension-module-outlook-add-ins).
11
+
12
+
**Add-in type**: Mail
13
+
14
+
**Valid only in these VersionOverrides schemas**:
15
+
16
+
- Mail 1.1
17
+
18
+
For more information, see [Version overrides in the add-in only manifest](/office/dev/add-ins/develop/xml-manifest-overview#version-overrides-in-the-manifest).
-[ExtensionPoint](extensionpoint.md) ([Module](extensionpoint.md#module) mail add-ins)
27
+
28
+
## Attributes
29
+
30
+
None.
31
+
32
+
## Child elements
33
+
34
+
| Element | Required | Description |
35
+
|:-----|:-----:|:-----|
36
+
|[CustomTab](customtab.md)| Yes | Defines a custom tab on the ribbon for the module extension add-in. The custom tab hosts buttons that run add-in operations. |
Copy file name to clipboardExpand all lines: docs/manifest/customfunctionssourcelocation.md
+8-4Lines changed: 8 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,19 +1,22 @@
1
1
---
2
2
title: SourceLocation element (version overrides) in the manifest file
3
3
description: Defines the location of a resource needed by the Script or Page elements used by custom functions in Excel, or needed by the ReportPhishingCustomization element, DetectedEntity extension point, or LaunchEvent extension point in Outlook.
4
-
ms.date: 05/20/2024
4
+
ms.date: 02/27/2025
5
5
ms.localizationpriority: medium
6
6
---
7
7
8
8
# SourceLocation element (version overrides)
9
9
10
-
Defines the location of a resource needed by the **\<Script\>** or **\<Page\>** elements used by custom functions in Excel, or needed by the **\<ReportPhishingCustomization\>** element, **\<DetectedEntity\>** extension point, or **\<LaunchEvent\>** extension point in Outlook.
10
+
Defines the location of a resource needed by the following elements.
11
+
12
+
-**\<Script\>** or **\<Page\>** elements used by custom functions in Excel
13
+
-**\<ReportPhishingCustomization\>** element, **\<DetectedEntity\>** extension point, **\<LaunchEvent\>** extension point, or **\<Module\>** extension point in Outlook.
11
14
12
15
> [!IMPORTANT]
13
16
> This article only refers to the **\<SourceLocation\>** that is a child of the following:
14
17
>
15
18
> -**\<Page\>**, **\<Script\>**, or **\<ReportPhishingCustomization\>** elements
-[ExtensionPoint](extensionpoint.md) ([Contextual](extensionpoint.md#detectedentity) and [LaunchEvent](extensionpoint.md#launchevent) mail add-ins)
42
+
-[ExtensionPoint](extensionpoint.md) ([DetectedEntity](extensionpoint.md#detectedentity), [LaunchEvent](extensionpoint.md#launchevent), and [Module](extensionpoint.md#module) mail add-ins)
Copy file name to clipboardExpand all lines: docs/manifest/extensionpoint.md
+37-4Lines changed: 37 additions & 4 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: ExtensionPoint element in the manifest file
3
3
description: Defines where an add-in exposes functionality in the Office UI.
4
-
ms.date: 09/05/2024
4
+
ms.date: 02/27/2025
5
5
ms.localizationpriority: medium
6
6
---
7
7
@@ -283,7 +283,7 @@ This extension point puts buttons on the ribbon for the form that's displayed to
283
283
284
284
### Module
285
285
286
-
This extension point puts buttons on the ribbon for the module extension.
286
+
This extension point adds a module extension add-in to the Outlook navigation bar. It also adds buttons to a custom tab on the ribbon for the module extension. To learn how to create module extensions, see [Module extension Outlook add-ins](/office/dev/add-ins/outlook/extension-module-outlook-add-ins).
287
287
288
288
> [!IMPORTANT]
289
289
> Registering [Mailbox](../requirement-sets/outlook/preview-requirement-set/office.context.mailbox.md#events) and [Item](../requirement-sets/outlook/preview-requirement-set/office.context.mailbox.item.md#events) events is not available with this extension point.
@@ -292,8 +292,41 @@ This extension point puts buttons on the ribbon for the module extension.
292
292
293
293
| Element | Description |
294
294
|:-----|:-----|
295
-
|[OfficeTab](officetab.md)| Adds the command(s) to the default ribbon tab. |
296
-
|[CustomTab](customtab.md)| Adds the command(s) to the custom ribbon tab. |
295
+
|[SourceLocation](customfunctionssourcelocation.md)| Specifies the location of the HTML file that sets up the main user interface of the add-in. |
296
+
| Label | Specifies the label of the module extension. Its **resid** attribute can be no more than 32 characters and must be set to the value of the **id** attribute of a **\<String\>** element in the [ShortStrings](shortstrings.md) element. |
297
+
|[CommandSurface](commandsurface.md)| Adds a group of add-in buttons to a custom tab on the ribbon. |
Copy file name to clipboardExpand all lines: docs/manifest/preprocessingdialog.md
+4-1Lines changed: 4 additions & 1 deletion
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: PreProcessingDialog element in the manifest file
3
3
description: The PreProcessingDialog element configures the preprocessing dialog of a spam-reporting add-in in Outlook.
4
-
ms.date: 05/20/2024
4
+
ms.date: 02/27/2025
5
5
ms.localizationpriority: medium
6
6
---
7
7
@@ -37,10 +37,13 @@ None.
37
37
| :------ | :------: | :------ |
38
38
|**Title**| Yes | Specifies the custom title of the preprocessing dialog. Its **resid** attribute must be set to the value of the **id** attribute of a [String](string.md) in the [ShortStrings](shortstrings.md) element under the [Resources](resources.md) element. |
39
39
|**Description**| Yes | Specifies the custom text that appears in the preprocessing dialog. Its **resid** attribute must be set to the value of the **id** attribute of a [String](string.md) in the [LongStrings](longstrings.md) element under the [Resources](resources.md) element. |
40
+
|**NeverShowAgainOption** (preview)*| No | When set to `true`, adds a "Don't show me this message again" checkbox to prevent the preprocessing dialog from appearing again. Consider specifying this element in your manifest when the preprocessing dialog of your spam-reporting add-in doesn't require user input. If you set this element to `true` and also specify the **\<ReportingOptions\>** and **\<FreeTextLabel\>** elements, the "Don't show me this message again" checkbox isn't shown on the preprocessing dialog. |
40
41
|[ReportingOptions](reportingoptions.md)| No | Lists up to five options a user can select from the preprocessing dialog to provide a reason for reporting a message. |
41
42
|**FreeTextLabel**| No | Adds a text box to the preprocessing dialog to allow users to provide additional information on the message they're reporting. Its **resid** attribute sets the title of the text box. The **resid** attribute must be set to the value of the **id** attribute of a [String](string.md) in the [ShortStrings](shortstrings.md) element under the [Resources](resources.md) element. |
42
43
|[MoreInfo](moreinfo.md)| No | Specifies the custom text and URL to provide informational resources to the users. The custom text and URL configured in this element appear below the text provided in the **\<Description\>** element. |
43
44
45
+
> \* The **\<NeverShowAgainOption\>** element is currently in preview in Outlook on the web and on Windows (new and classic). To preview this feature in classic Outlook on Windows, install Version 2411 (Build 18227.20034) or later. Then, join the [Microsoft 365 Insider program](https://techcommunity.microsoft.com/blog/microsoft365insiderblog/join-the-microsoft-365-insider-program-on-windows/4206638) and select the **Beta Channel** option.
0 commit comments