[英]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:我的问题:
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.