Skip to content

Commit 0c6b65b

Browse files
AlexJerabekCopilotsamantharamon
authored
[all hosts] (Event-based activation) Consolidate Outlook and WXP autorun information (#5269)
* Consolidate Outlook and WXP autorun information * Update links and troubleshooting article * Fix links * Update docs/word/add-headers-on-document-open.md Co-authored-by: Copilot <[email protected]> * Fix more links * Consolidate Outlook and WXP autorun documentation * Apply suggestions from code review Co-authored-by: Sam Ramon <[email protected]> * PR feedback * Update docs/word/add-headers-on-document-open.md Co-authored-by: Copilot <[email protected]> * Apply suggestions from code review * Fix links * Apply suggestions from code review Co-authored-by: Sam Ramon <[email protected]> Co-authored-by: Copilot <[email protected]> * PR feedback --------- Co-authored-by: Copilot <[email protected]> Co-authored-by: Sam Ramon <[email protected]>
1 parent 7f3f5e2 commit 0c6b65b

34 files changed

+543
-497
lines changed

.openpublishing.redirection.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -483,6 +483,14 @@
483483
"source_path": "docs/outlook/add-in-commands-for-outlook.md",
484484
"redirect_url": "/office/dev/add-ins/develop/create-addin-commands"
485485
},
486+
{
487+
"source_path": "docs/outlook/troubleshoot-event-based-and-spam-reporting-add-ins.md",
488+
"redirect_url": "/office/dev/add-ins/testing/troubleshoot-event-based-and-spam-reporting-add-ins"
489+
},
490+
{
491+
"source_path": "docs/outlook/autolaunch.md",
492+
"redirect_url": "/office/dev/add-ins/develop/event-based-activation"
493+
},
486494
{
487495
"source_path": "docs/publish/centralized-deployment.md",
488496
"redirect_url": "/office/dev/add-ins/publish/publish"
@@ -1290,6 +1298,14 @@
12901298
"source_path": "docs/reference/overview/project-add-ins-reference-overview.md",
12911299
"redirect_url": "/office/dev/add-ins/project/overview"
12921300
},
1301+
{
1302+
"source_path": "docs/outlook/autolaunch-store-options.md",
1303+
"redirect_url": "/office/dev/add-ins/publish/autolaunch-store-options"
1304+
},
1305+
{
1306+
"source_path": "docs/outlook/debug-autolaunch.md",
1307+
"redirect_url": "/office/dev/add-ins/testing/debug-autolaunch"
1308+
},
12931309
{
12941310
"source_path": "docs/outlook/match-strings-in-an-item-as-well-known-entities.md",
12951311
"redirect_url": "/office/dev/add-ins/outlook/contextual-outlook-add-ins"
@@ -1302,6 +1318,10 @@
13021318
"source_path": "docs/outlook/use-regular-expressions-to-show-an-outlook-add-in.md",
13031319
"redirect_url": "/office/dev/add-ins/outlook/contextual-outlook-add-ins"
13041320
},
1321+
{
1322+
"source_path": "docs/outlook/use-sso-in-event-based-activation.md",
1323+
"redirect_url": "/office/dev/add-ins/develop/use-sso-in-event-based-activation"
1324+
},
13051325
{
13061326
"source_path": "docs/develop/extended-overrides.md",
13071327
"redirect_url": "/javascript/api/manifest/extendedoverrides"

docs/concepts/browsers-used-by-office-web-add-ins.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ To determine whether Office 2016 or Office 2019 is retail or volume-licensed, us
7979

8080
<sup>2</sup> When you use either EdgeHTML or WebView2, the Windows Narrator (sometimes called a "screen reader") reads the `<title>` tag in the page that opens in the task pane. In Trident+, the Narrator reads the title bar of the task pane, which comes from the add-in name that's specified in the add-in's manifest.
8181

82-
<sup>3</sup> If your add-in uses an add-in only manifest and includes the **\<Runtimes\>** element in the manifest or it uses the unified manifest and it includes an "extensions.runtimes.lifetime" property, then it won't use EdgeHTML. If the conditions for using WebView2 are met, then the add-in uses WebView2. Otherwise, it uses Trident+. For more information, see [Runtimes](/javascript/api/manifest/runtimes) and [Configure your Outlook add-in for event-based activation](../outlook/autolaunch.md?tabs=jsonmanifest).
82+
<sup>3</sup> If your add-in uses an add-in only manifest and includes the **\<Runtimes\>** element in the manifest or it uses the unified manifest and it includes an "extensions.runtimes.lifetime" property, then it won't use EdgeHTML. If the conditions for using WebView2 are met, then the add-in uses WebView2. Otherwise, it uses Trident+. For more information, see [Runtimes](/javascript/api/manifest/runtimes) and [Activate add-ins with events](../develop/event-based-activation.md).
8383

8484
### Microsoft 365 subscription versions of Office on Windows
8585

@@ -100,7 +100,7 @@ For subscription Office on Windows, the browser that's used is determined by the
100100

101101
<sup>3</sup> When you use either EdgeHTML or WebView2, the Windows Narrator (sometimes called a "screen reader") reads the `<title>` tag in the page that opens in the task pane. In Trident+, the Narrator reads the title bar of the task pane, which comes from the add-in name that's specified in the add-in's manifest.
102102

103-
<sup>4</sup> If your add-in uses an add-in only manifest and includes the **\<Runtimes\>** element in the manifest or it uses the unified manifest and it includes an "extensions.runtimes.lifetime" property, then it won't use EdgeHTML. If the conditions for using WebView2 are met, then the add-in uses WebView2. Otherwise, it uses Trident+. For more information, see [Runtimes](/javascript/api/manifest/runtimes) and [Configure your Outlook add-in for event-based activation](../outlook/autolaunch.md?tabs=jsonmanifest).
103+
<sup>4</sup> If your add-in uses an add-in only manifest and includes the **\<Runtimes\>** element in the manifest or it uses the unified manifest and it includes an "extensions.runtimes.lifetime" property, then it won't use EdgeHTML. If the conditions for using WebView2 are met, then the add-in uses WebView2. Otherwise, it uses Trident+. For more information, see [Runtimes](/javascript/api/manifest/runtimes) and [Activate add-ins with events](../develop/event-based-activation.md).
104104

105105
## Working with Trident+ (Internet Explorer 11)
106106

docs/concepts/duplicate-legacy-metaos-add-ins.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ If you have users on older or perpetual license versions for which these excepti
9696
There are also some scenarios where you might want to maintain both both versions of the add-in for an extended period. For example, there are two features of add-ins that aren't supported with the unified manifest because they're little used or deprecated. You may choose to maintain a version of your add-in that uses these features. The following are the features that aren't supported in the unified manifest.
9797

9898
- [Outlook modules](../outlook/extension-module-outlook-add-ins.md) aren't supported. But you can provide a nearly identical experience using the unified manifest by [including a Teams Tab with your add-in in a single app](/microsoftteams/platform/m365-apps/combine-office-add-in-and-teams-app).
99-
- [Outlook contextual add-ins](../outlook/contextual-outlook-add-ins.md) (also known as "activation rules") aren't supported. But you can provide similar experiences using the unified manifest and [Event-based activation](../outlook/autolaunch.md).
99+
- [Outlook contextual add-ins](../outlook/contextual-outlook-add-ins.md) (also known as "activation rules") aren't supported. But you can provide similar experiences using the unified manifest and [Event-based activation](../develop/event-based-activation.md).
100100

101101
The critical requirement for making two versions available is to be sure that the two of them appear distinct in the Outlook UI.
102102

docs/develop/addressing-same-origin-policy-limitations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Another way to address same-origin policy limitations is to provide server-side
4242
To learn more about cross-origin resource sharing, see the many resources available on the web, such as [Cross-Origin Resource Sharing (CORS)](https://web.dev/cross-origin-resource-sharing/).
4343

4444
> [!NOTE]
45-
> For information on how to use CORS in an Outlook add-in that implements event-based activation or integrated spam reporting (preview), see [Use single sign-on (SSO) or cross-origin resource sharing (CORS) in your event-based or spam-reporting Outlook add-in](../outlook/use-sso-in-event-based-activation.md).
45+
> For information on how to use CORS in an Outlook add-in that implements event-based activation or integrated spam reporting (preview), see [Use single sign-on (SSO) or cross-origin resource sharing (CORS) in your event-based or spam-reporting Outlook add-in](../develop/use-sso-in-event-based-activation.md).
4646
4747
## Build your own proxy using IFRAME and POST MESSAGE (Cross-Window Messaging)
4848

0 commit comments

Comments
 (0)