Office-js-docs-pr: Can a manifest file be loaded in both Excel and Outlook?

Created on 20 Apr 2021  Â·  2Comments  Â·  Source: OfficeDev/office-js-docs-pr

It is mentioned on this page that:

If you don't specify the Hosts element, your add-in will run in all Office applications supported by Office Add-ins.

But it seems a manifest file can't be shared by Excel and Outlook:

  1. The xsi:type attribute of OfficeApp element accepts either, ContentApp, TaskPaneApp, or MailApp. It sounds like we have to make a choice between Outlook and other Office applications.
  2. The Permissions element explicitly separates mail add-in from other add-ins.

Could you confirm and update the page with a table of what Office applications can share a manifest file?


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

add-ins fixed doc bug

All 2 comments

@yanli0303 Yes, you're right, the manifest allows you to support Outlook (MailApp) or other Office applications but not both. We'll take a look at updating the documentation.

Thanks.

@yanli0303 The doc updates should be published by the end of this week. Thanks.

Was this page helpful?
0 / 5 - 0 ratings