Skip to content

Commit 7567207

Browse files
[Outlook] (spam reporting) Fix the unified manifest sample (#5054)
1 parent f93c84b commit 7567207

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/outlook/spam-reporting.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Implement an integrated spam-reporting add-in
33
description: Learn how to implement an integrated spam-reporting add-in in Outlook.
4-
ms.date: 01/22/2025
4+
ms.date: 02/19/2025
55
ms.topic: how-to
66
ms.localizationpriority: medium
77
---
@@ -102,6 +102,7 @@ Select the tab for the type of manifest you're using.
102102

103103
1. Add the following object to the "extensions.ribbons" array. Note the following about this markup.
104104
- The "contexts" array contains the "spamReportingOverride" string. This prevents the add-in button from appearing at the end of the ribbon or in the overflow section.
105+
- The "tabs" array must be specified in an "extensions.ribbons" object. However, because the button of a spam-reporting add-in is displayed in a specific spot on the ribbon, only an empty array is specified.
105106
- The "fixedControls" array contains an object that configures the look and functionality of the add-in button on the ribbon. The name of the event handler specified in the "actionId" property must match the value used in the "id" property of the object in the "actions" array. While the "enabled" property must be specified in the array, its value doesn't affect the functionality of a spam-reporting add-in.
106107
- The "spamPreProcessingDialog" object specifies the information and options that are shown in the preprocessing dialog. While you must specify a "title" and "description" for the dialog, you can optionally configure the following properties.
107108
- The "spamReportingOptions" object. It provides a multiple-selection list of up to five choices. This helps a user identify the type of message they're reporting.
@@ -113,6 +114,7 @@ Select the tab for the type of manifest you're using.
113114
"contexts": [
114115
"spamReportingOverride"
115116
],
117+
"tabs": [],
116118
"fixedControls": [
117119
{
118120
"id": "spamReportingButton",

0 commit comments

Comments
 (0)