Skip to content

Commit 0ffdea2

Browse files
[All Hosts] (devx) new step for converting to unified manifest (#5131)
* [All Hosts] (devx) new step for converting to unified manifest * another one * Apply suggestions from code review Co-authored-by: Alison McKay <[email protected]> --------- Co-authored-by: Alison McKay <[email protected]>
1 parent 53f6cd5 commit 0ffdea2

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

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

Lines changed: 12 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: 03/26/2025
5+
ms.date: 04/18/2025
66
ms.localizationpriority: medium
77
---
88

@@ -66,7 +66,7 @@ The following markup is an example.
6666

6767
### Reduce the number of add-in commands as needed
6868

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.
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.
7070

7171
### Update the add-in ID, version, domain, and function names in the manifest
7272

@@ -81,6 +81,16 @@ An add-in that uses the unified manifest may not have more than 20 [add-in comma
8181
> [!IMPORTANT]
8282
> The value of this element must exactly match the name of an action that's mapped to a function in a JavaScript or TypeScript file with the [Office.actions.associate](/javascript/api/office/office.actions#office-office-actions-associate-member(1)) function. If you change it in the manifest, be sure to change it in the `actionId` parameter passed to `associate()` too.
8383
84+
### Shorten string values as needed
85+
86+
Review and change, as needed, the manifest values in light of the following effects of the conversion.
87+
88+
- The first 30 characters of `<DisplayName>` becomes the value of "name.short" in the unified manifest.
89+
- The first 100 characters of `<DisplayName>` becomes the value of "name.long" in the unified manifest.
90+
- The first 250 characters of `<Description>` becomes the value of "description.short" in the unified manifest.
91+
- The first 4000 characters of `<Description>` becomes the value of "description.long" in the unified manifest.
92+
- The first 32 characters of the `<ProviderName>` becomes the value "developer.name" in the unified manifest.
93+
8494
### Verify that the modified add-in only manifest works
8595

8696
1. Validate the modified add-in only manifest. See [Validate an Office Add-in's manifest](../testing/troubleshoot-manifest.md).

0 commit comments

Comments
 (0)