简体   繁体   English

分发由 Web 加载项 (office.js) 提供支持的 Excel 工作簿

[英]Distribute Excel workbook powered by web add-in (office.js)

I have a complex Excel workbook that I intend to automate using the new office.js add-in.我有一个复杂的 Excel 工作簿,我打算使用新的 office.js 加载项自动化。 As I understand from documentation, we should publish a manifest containing the location of the source code of the add-in's js.正如我从文档中了解到的,我们应该发布一个清单,其中包含加载项 js 的源代码的位置。 This add-in also has custom ribbon commands and a task pane.此加载项还具有自定义功能区命令和任务窗格。

In my use case, this complex workbook contains a lot of data, formulas, pivots and charts.在我的用例中,这个复杂的工作簿包含大量数据、公式、数据透视表和图表。 I wouldn't want to recreate everything from scratch on the first execution of the add-in.我不想在第一次执行加载项时从头开始重新创建所有内容。

My questions:我的问题:

  1. Is it possible to publish somewhere this workbook and ask the user to install the add-in?是否可以在某处发布此工作簿并要求用户安装加载项?
  2. How can I ship the workbook with the manifest inside of it?如何发送带有清单的工作簿? I would expect the same experience we have on VSTO - an excel file with some sort of "macros" or "custom areas" containing the automation information.我希望我们在 VSTO 上拥有相同的体验——一个带有某种“宏”或“自定义区域”的 Excel 文件,其中包含自动化信息。
  3. Is it possible to restrict the add-in to this specific document?是否可以将加载项限制在此特定文档中? This would be document-level customization in this use case.在此用例中,这将是文档级别的自定义。

I'd suggest spending some more time reading up on wed add-ins, you clearly have a good understanding of previous incarnations of Excel add-ins, however web add-ins bring a big shift from this.我建议花更多时间阅读 wed 加载项,您显然对 Excel 加载项的先前版本有很好的了解,但是 Web 加载项带来了很大的转变。

Answers to your queries:回答您的问题:

1 - The add-in is effectively a static web application and is considered separate to the worksheet. 1 - 加载项实际上是一个静态 Web 应用程序,被认为与工作表分开。

2 - Web add-ins are hosted on a webserver or similar. 2 - Web 加载项托管在 Web 服务器或类似服务器上。 We are hosting within AWS S3 fronted by API gateway, but MS would steer you towards an Azure solution.我们在 API 网关前面的 AWS S3 中托管,但 MS 会引导您使用 Azure 解决方案。

3 - If you really needed to, if you got creative you could restrict functions in the add-in when certain conditions are met in the worksheet. 3 - 如果您真的需要,如果您有创意,您可以在工作表中满足某些条件时限制加载项中的功能。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何私下分发 excel office 插件(w/office.js)? - How do I distribute excel office add-in(w/ office.js) in privately? Microsoft office.js Excel 插件 - 使用 javascript/react 检索工作表/工作簿唯一 ID - Microsoft office.js Excel add-in - retrieve worksheet/workbook unique ID using javascript/react 将 Office.js(Excel 加载项)连接到 SQL Server - Connect Office.js (Excel Add-in) to SQL Server 使用 Office.js 从 Excel 加载项创建 Word 文档 - Creating Word document from Excel Add-In with Office.js 如何将 selectionMode 设置为 Unlocked? Excel 插件,Office.js - How to set selectionMode to Unlocked? Excel add-in, Office.js Excel Office.js - 在 Workbook_Open() 环境中添加按钮 - Excel Office.js -add button on Workbook_Open() envent Office.JS:如何使用Office 2016 OnPrem加载Word / Excel任务窗格加载项? - Office.JS: How to sideload Word/Excel Taskpane add-in with Office 2016 OnPrem? Office Professional 2016 Excel Office.js 插件浏览器问题 - Office Professional 2016 Excel Office.js Add-in Browser Issue 如果工作表名称中带有连字符(-),则Office.js Excel加载项命名绑定将不起作用 - Office.js Excel add-in named binding does not works if we have a hyphen(-) in the sheet name Office.js | excel 插件 | 不允许在特定单元格范围内呈现数据 - Office.js | excel add-in | do not allow to render data in specific cell range
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM