Skip to content

Commit bb446cf

Browse files
author
github-actions
committed
Merge branch 'main' into live
2 parents c465b88 + 4db8f74 commit bb446cf

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

docs/develop/convert-xml-to-json-manifest.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Convert an add-in to use the unified manifest for Microsoft 365
33
description: Learn the various methods for converting an add-in with an add-in only manifest to the unified manifest for Microsoft 365 and sideload the add-in.
44
ms.topic: how-to
5-
ms.date: 02/12/2025
5+
ms.date: 03/26/2025
66
ms.localizationpriority: medium
77
---
88

@@ -37,7 +37,7 @@ The following sections describe conditions that must be met before you convert t
3737

3838
### Uninstall the existing version of the add-in
3939

40-
To avoid conflicts with UI control names and other problems, be sure the existing add-in isn't installed on the computer where you do the conversion.
40+
To avoid conflicts with UI control names and other problems, be sure the existing add-in isn't installed on the computer where you do the conversion. If you experience any difficulties uninstalling the add-in, see [Remove a ghost add-in](../testing/uninstall-add-in.md#remove-a-ghost-add-in).
4141

4242
### Ensure that you have two special image files
4343

@@ -64,6 +64,10 @@ The following markup is an example.
6464
<!-- Other markup omitted -->
6565
```
6666

67+
### Reduce the number of add-in commands as needed
68+
69+
An add-in that uses the unified manifest may not have more than 20 [add-in commands](../design/add-in-commands.md). If the total number of [**\<Action\>** elements](/javascript/api/manifest/action) in the add-in only manifest is greater than 20, you must redesign the add-in to have no more than 20.
70+
6771
### Update the add-in ID, version, domain, and function names in the manifest
6872

6973
1. Change the value of the `<ID>` element to a new random GUID.

docs/testing/sideload-add-in-with-unified-manifest.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Sideload Office Add-ins that use the unified manifest for Microsoft 365
33
description: Test your Office Add-in on Windows by sideloading.
4-
ms.date: 02/26/2025
4+
ms.date: 03/27/2025
55
ms.localizationpriority: medium
66
---
77

@@ -31,11 +31,15 @@ Use the process described in [Sideload with a system prompt, bash shell, or term
3131
1. Press F5. The project builds and a Node dev-server window opens. This process may take a couple of minutes and then the desktop version of the Office application that you selected opens. You can now work with your add-in. For an Outlook add-in, be sure you're working in the **Inbox** of *your Microsoft 365 account identity*.
3232
1. To stop debugging and uninstall the add-in, select **Run** | **Stop Debugging** in Visual Studio Code. Closing the server window doesn't reliably stop the server and closing the Office application doesn't reliably cause Office to unacquire the add-in.
3333

34+
> [!NOTE]
35+
> If the preceding step seems to have no effect, uninstall the add-in by opening a **TERMINAL** in Visual Studio Code, and then complete the uninstall step &#8212; the *last* step &#8212; of the section [Sideload with a system prompt, bash shell, or terminal](#sideload-with-a-system-prompt-bash-shell-or-terminal).
36+
3437
## Sideload with a system prompt, bash shell, or terminal
3538

3639
1. First, *make sure the Office desktop application that you want to sideload into is closed.*
3740
1. Open a system prompt, bash shell, or the Visual Studio Code **TERMINAL**, and navigate to the root of the project.
3841
1. The command to sideload the add-in depends on when the project was created. If the "scripts" section of the project's package.json file has a "start:desktop" script, then run `npm run start:desktop`; otherwise, run `npm run start`. The project builds and a Node dev-server window opens. This process may take a couple of minutes then the Office host application (Excel, Outlook, PowerPoint, or Word) desktop opens.
42+
1. For an Excel, PowerPoint, or Word add-in, there is an additional step: select the **Add-ins** button on the **Home** ribbon. On the flyout that opens, select the add-in. This completes the installation.
3943
1. You can now work with your add-in.
4044
1. When you're done working with your add-in, make sure to run the command `npm run stop`. Closing the server window doesn't reliably stop the server and closing the Office application doesn't reliably cause Office to unacquire the add-in.
4145

0 commit comments

Comments
 (0)