带有通过 Office 365 管理中心部署的加载项的 AutoOpen 任务窗格

AutoOpen taskpanes with an add-in that is deployed via the Office 365 Admin Center

上下文

目前我正在开发一个 Word 加载项,它使用新的 Javascript API 的 Office。该加载项由一些基本功能和一些数字模板组成。打开文档时,模板(普通文档)会自动打开一个任务窗格。我已遵循 Office.js

中提供的以下 guide to achieve this. Manually adjusting the OOXML (webextensions) did not result in the desired effect. Fortunately, I was successful with implementing the automatically opening taskpanes via the API functions

问题

理想情况下,此加载项将通过 Office 365 admin center 部署。但是我不确定这种部署加载项的方式是否可以与自动打开任务窗格相结合。在指南中,我只能找到对以下清单存储类型的支持:

有关 WebExtensionReference 的文档列出了更多选项,这让我充满希望。但是,描述并未明确说明 Office 365 管理中心使用哪种存储类型(如果有的话)。

因为我目前无法通过 Office 365 管理中心部署加载项的测试版本。我希望有人能告诉我是否确实可以通过 Office 365 管理中心将自动打开的任务窗格和集中部署结合起来。如果是这样,使用哪种清单存储类型,以及如何在 OOXML 中引用它。

提前致谢!

是的,这在使用集中部署时最有效。您会看到从集中部署目录中插入的 add-ins 的形状如下:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<we:webextension xmlns:we="http://schemas.microsoft.com/office/webextensions/webextension/2010/11" id="{52811C31-4593-43B8-A697-EB873422D156}">
    <we:reference id="af8fa5ba-4010-4bcc-9e03-a91ddadf6dd3" version="1.0.0.0" store="EXCatalog" storeType="EXCatalog"/>
    <we:alternateReferences/>
    <we:properties/>
    <we:bindings/>
    <we:snapshot xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"/>
</we:webextension>

并且您可以实际测试它,请参阅 this page and look into how to setup a free 30-day trial 以获得 Office 365 开发人员帐户,您可以实际测试驱动器集中部署并验证您的 add-in 是否按预期工作。

此外,如果您订阅了 MSDN,则您有权获得 Office 365 开发人员帐户,请查看同一页面中的信息。