Skip to content

Commit b1854f7

Browse files
author
github-actions
committed
Merge branch 'main' into live
2 parents 040f68c + 0c6d82d commit b1854f7

12 files changed

+107
-40
lines changed

docs/develop/development-kit-overview.md

Lines changed: 4 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,7 @@ The Office Add-ins Development Kit helps set up your environment, create Office
1111

1212
[!INCLUDE [Information about the preview status of the dev kit.](../includes/dev-kit-preview-note.md)]
1313

14-
## Prerequisites
15-
16-
- Download and install [Visual Studio Code](https://code.visualstudio.com/).
17-
- Node.js (the latest LTS version). Visit the [Node.js site](https://nodejs.org/) to download and install the right version for your operating system. To verify if you've already installed these tools, run the commands `node -v` and `npm -v` in your terminal.
18-
- Office connected to a Microsoft 365 subscription. You might qualify for a Microsoft 365 E5 developer subscription through the [Microsoft 365 Developer Program](https://developer.microsoft.com/microsoft-365/dev-program), see [FAQ](/office/developer-program/microsoft-365-developer-program-faq#who-qualifies-for-a-microsoft-365-e5-developer-subscription-) for details. Alternatively, you can [sign up for a 1-month free trial](https://www.microsoft.com/microsoft-365/try?rtc=1) or [purchase a Microsoft 365 plan](https://www.microsoft.com/microsoft-365/buy/compare-all-microsoft-365-products).
14+
[!include[Dev_kit prerequisites](../includes/dev-kit-prerequisites.md)]
1915

2016
## Install the development kit
2117

@@ -67,29 +63,8 @@ To understand how the add-in will work in an Office application, use the Office
6763
> [!NOTE]
6864
> These steps are the same as the ones listed in Visual Studio Code by the extension when you create a new project.
6965
70-
1. Open the extension by selecting the Office Add-ins Development Kit icon in the **Activity Bar**.
71-
1. Select **Preview Your Office Add-in (F5)**
72-
1. In the Quick Pick menu, select the option **{Office Host} Desktop (Edge Chromium)**. This will launch the add-in and debug the code.
73-
74-
The development kit checks that the prerequisites are met before debugging starts. Check the terminal for detailed information if there are issues with your environment. After this process, the Office desktop application launches and sideloads the add-in. Please note that the first time you run a project, it may make take a few minutes to install the dependencies. You will need to install the certificate when prompted.
75-
76-
## Stop testing your Office Add-in
77-
78-
Once you are finished testing and debugging the add-in, close the add-in by following these steps.
79-
80-
1. Open the extension by selecting the Office Add-ins Development Kit icon in the **Activity Bar**.
81-
1. Select **Stop Previewing Your Office Add-in**. This closes the web server and removes the add-in from the registry and cache.
82-
1. Close the Office application window at your convenience.
83-
84-
## Troubleshooting
85-
86-
If you have problems running the add-in, take these steps.
87-
88-
- Close any open instances of Office.
89-
- Close the previous web server started for the add-in with the **Stop Previewing Your Office Add-in** Office Add-ins Development Kit extension option.
90-
91-
The article [Troubleshoot development errors with Office Add-ins](../testing/troubleshoot-development-errors.md) contains solutions to common problems. If you're still having issues, [create a GitHub issue](https://aka.ms/officedevkitnewissue) and we'll help you.
66+
[!include[Dev_kit_start_debugging](../includes/dev-kit-start-debugging.md)]
9267

93-
For information on running the add-in on Office on the web, see [Sideload Office Add-ins to Office on the web](../testing/sideload-office-add-ins-for-testing.md).
68+
[!include[Dev_kit_stop_debugging](../includes/dev-kit-stop-debugging.md)]
9469

95-
For information on debugging on older versions of Office, see [Debug add-ins using developer tools in Microsoft Edge Legacy](../testing/debug-add-ins-using-devtools-edge-legacy.md).
70+
[!include[Dev_kit_troubleshooting](../includes/dev-kit-troubleshooting.md)]
229 KB
Loading
177 KB
Loading
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
## Prerequisites
2+
3+
- Download and install [Visual Studio Code](https://code.visualstudio.com/).
4+
- Node.js (the latest LTS version). Visit the [Node.js site](https://nodejs.org/) to download and install the right version for your operating system. To verify if you've already installed these tools, run the commands `node -v` and `npm -v` in your terminal.
5+
- Office connected to a Microsoft 365 subscription. You might qualify for a Microsoft 365 E5 developer subscription through the [Microsoft 365 Developer Program](https://developer.microsoft.com/microsoft-365/dev-program), see [FAQ](/office/developer-program/microsoft-365-developer-program-faq#who-qualifies-for-a-microsoft-365-e5-developer-subscription-) for details. Alternatively, you can [sign up for a 1-month free trial](https://www.microsoft.com/microsoft-365/try?rtc=1) or [purchase a Microsoft 365 plan](https://www.microsoft.com/microsoft-365/buy/compare-all-microsoft-365-products).
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
1. Open the extension by selecting the Office Add-ins Development Kit icon in the **Activity Bar**.
2+
1. Select **Preview Your Office Add-in (F5)**
3+
1. In the Quick Pick menu, select the option **{Office Application} Desktop (Edge Chromium)**, where '{Office Application}' is the appropriate application, such as "Excel" or "Word". This will launch the add-in and debug the code.
4+
5+
The development kit checks that the prerequisites are met before debugging starts. Check the terminal for detailed information if there are issues with your environment. After this process, the Office desktop application launches and sideloads the add-in. Please note that the first time you run a project, it may make take a few minutes to install the dependencies. You'll need to install the certificate when prompted.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
## Stop testing your Office Add-in
2+
3+
Once you are finished testing and debugging the add-in, *always* close the add-in by following these steps. (Closing the Office application or web server window doesn't reliably deregister the add-in.)
4+
5+
1. Open the extension by selecting the Office Add-ins Development Kit icon in the **Activity Bar**.
6+
1. Select **Stop Previewing Your Office Add-in**. This closes the web server and removes the add-in from the registry and cache.
7+
1. Close the Office application window.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
## Troubleshooting
2+
3+
If you have problems running the add-in, take these steps.
4+
5+
- Close any open instances of Office.
6+
- Close the previous web server started for the add-in with the **Stop Previewing Your Office Add-in** Office Add-ins Development Kit extension option.
7+
8+
The article [Troubleshoot development errors with Office Add-ins](../testing/troubleshoot-development-errors.md) contains solutions to common problems. If you're still having issues, [create a GitHub issue](https://aka.ms/officedevkitnewissue) and we'll help you.
9+
10+
For information on running the add-in on Office on the web, see [Sideload Office Add-ins to Office on the web](../testing/sideload-office-add-ins-for-testing.md).
11+
12+
For information on debugging on older versions of Office, see [Debug add-ins using developer tools in Microsoft Edge Legacy](../testing/debug-add-ins-using-devtools-edge-legacy.md).
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
## Explore the project
2+
3+
The add-in project that you've created with the Office Add-ins Development Kit contains sample code for a basic task pane add-in. If you'd like to explore the components of your add-in project, open the project in your code editor and review the files listed below. When you're ready to try out your add-in, proceed to the next section.
4+
5+
1. The **./manifest.xml** or **./manifest.json** file in the root directory of the project defines the settings and capabilities of the add-in.
6+
1. The **./src/taskpane/taskpane.html** file contains the HTML markup for the task pane.
7+
1. The **./src/taskpane/taskpane.css** file contains the CSS that's applied to content in the task pane.
8+
1. The **./src/taskpane/taskpane.js** file contains the Office JavaScript API code that facilitates interaction between the task pane and the Office client application.

docs/outlook/onmessagesend-onappointmentsend-events.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -234,14 +234,10 @@ You can customize the **Don't Send** button in the dialog to open a task pane or
234234
> [!NOTE]
235235
> Support to customize the **Don't Send** button was introduced in [Mailbox requirement set 1.14](/javascript/api/requirement-sets/outlook/requirement-set-1.14/outlook-requirement-set-1.14).
236236
237-
### Limitations in Outlook on the web and new Outlook on Windows
238-
239-
When developing a Smart Alerts add-in for Outlook on the web and new Outlook on Windows, you must be mindful of the following limitations.
237+
In Outlook on the web and in new Outlook on Windows:
240238

241239
- The `OnAppointmentSend` event only occurs when the meeting being sent was created through the **New Event** option. If the meeting being sent was created by selecting a date and time directly from the calendar, the `OnAppointmentSend` event doesn't occur.
242240
- When forwarding a meeting, the `OnAppointmentSend` event only occurs if the organizer forwards the meeting. It doesn't occur if an attendee forwards the meeting to which they're invited.
243-
- When an attendee responds to a meeting invite using the **Accept**, **Decline**, **Tentative**, or **Follow** option, the `OnMessageSend` event doesn't occur. This behavior applies even if the attendee includes a personalized message in their response.
244-
- When the organizer cancels a meeting and includes a cancellation message, the `OnMessageSend` event doesn't occur.
245241

246242
### Limitations to formatting the dialog message using Markdown
247243

docs/overview/set-up-your-dev-environment.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Set up your development environment
33
description: Set up your developer environment to build Office Add-ins.
4-
ms.date: 08/22/2024
4+
ms.date: 12/12/2024
55
ms.topic: install-set-up-deploy
66
ms.localizationpriority: medium
77
---
@@ -124,7 +124,7 @@ You can create Office add-in projects in Visual Studio Code with either the Team
124124

125125
Install [Visual Studio Code](https://code.visualstudio.com/) and then install the latest version of Teams Toolkit as described in [Install Teams Toolkit](/microsoftteams/platform/toolkit/install-teams-toolkit?tabs=vscode).
126126

127-
#### Install the Office Add-ins Development Kit extension (preview)
127+
#### Install the Office Add-ins Development Kit extension
128128

129129
The Office Add-ins Development Kit extension for Visual Studio Code lets you create and run new add-ins directly from the IDE. For more information about the extension, see [Create Office Add-in projects using Office Add-ins Development Kit for Visual Studio Code](../develop/development-kit-overview.md).
130130

0 commit comments

Comments
 (0)