Web 插件部署:旁加载与管理中心部署 [英] Web Addin deployment: Sideload vs Admin center deployment

查看:75
本文介绍了Web 插件部署:旁加载与管理中心部署的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在开发 excel web 插件 - 目前它是一个 Ribbon 元素,当按下 Ribbon 上的按钮时会显示一个任务窗格.

We are working on excel web add-in - for the moment it is a Ribbon element with a task-pane shown when a button on the Ribbon is pressed.

技术细节:我们实现了共享 JavaScript 运行时

Technical details: we implemented shared JavaScript runtime

用例:因此,我们有一个通过 MS 管理中心部署的 Excel Web 加载项(我们直接通过管理中心上传清单并使其可供我们的 MS Teams 用户使用).当在浏览器中打开 excel 文件时,为用户正确加载了加载项(原文如此!MS Teams 在这里遇到了问题 - 如果在 MS Teams 中打开了 excel 文件,则加载项未加载但没问题 - 我们接受它暂时)

Use Case: So we have an Excel web Add-in which is deployed through MS Admin center (we upload the manifest directly through admin center and make it available for our MS Teams users). The Add-in is correctly loaded for users when excel file is opened in the browser (sic! MS Teams has got a problem here - if excel file is opened in MS Teams the Add-in is not loaded but ok - we live with it for the moment)

同时,我们的开发人员使用私有部署(旁加载)部署了相同的 Excel Web 插件.在浏览器中打开 excel 文件时,加载项正确加载.

At the same time the same Excel web Add-in is deployed by our developers using private deployment (sideload). The Add-in is correctly loaded when excel file is opened in the browser.

问题:有一个严重的问题 - 第一个解决方案的一个重要功能不可用 - 在浏览器中按下 F5(刷新)后任务窗格的自动显示.使用第二种部署方法,任务窗格在刷新后正确显示(浏览器中的 F5).

Problem: There is a serious problem - with the first solution one important feature is not available - the automatic show of the task pane after F5 (refresh) is pressed in the browser. With the second method of deployment the task pane is shown correctly after refresh (F5 in the browser).

知道为什么会发生这种情况吗?

Any ideas why this might happen?

推荐答案

探索后 https://github.com/OfficeDev/Office-OOXML-EmbedAddin 我们发现我们填写 excel 文件的方式有问题.更正后,它开始正常工作.

After exploring https://github.com/OfficeDev/Office-OOXML-EmbedAddin we found a problem with our way of filling the excel file. After correction it started to work fine.

对于我们的案例(没有 App Store 的集中部署),我们将EXCatalog"放在storestoreType 属性.

For our case (Centralized Deployment without App Store) we put "EXCatalog" both for store and storeType attributes.

这篇关于Web 插件部署:旁加载与管理中心部署的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆