根据用户特定设置配置 Office 2013 加载项

Configure Office 2013 add-in according to user specific settings

我们尝试让我们的 Office 2013/16 html/javascript 任务窗格加载项针对我们客户自己的服务器工作,运行使我们的软件显示他们的图片,并将它们添加到 Word/PowerPoint。我们的客户有一个或多个他们想要配置的域,以便插件连接到其中一个域。如果我们在 Office Store 上发布此加载项,我们不知道客户可能想要配置的所有域,因此应用程序域列表将为空。

  1. 是否可以根据用户输入在 运行 时间内将 App Domain 添加到清单?
  2. 是否可以将清单文件放在 CDN 上,以便我们随时更新?顺便说一句,这不是我们想要的解决方案,因为这需要互联网访问,而且并非我们所有的客户都有。不过我还是很好奇这个问题的答案。
  3. 这个问题还有其他解决方案吗?

编辑: 我们的产品是基于网络的产品。我们的产品中有一个 html 小部件,可以在 CMS 中使用,或者像我们现在尝试做的那样,将它添加到 word 和 Powerpoint 的任务窗格加载项中。该小部件可以位于给定域的特定 url 上。由于小部件是我们产品的一部分,并且我们的客户正在选择他们 运行 我们的服务器产品所在的域,因此我们无法在加载项中预先配置它。

1.Is it somehow possible to add a App Domain to the manifest during runtime based on user input?

没有。我们无法在运行时配置清单。

Is it possible to put a manifest file on a CDN that we can update when we want? This is btw not the solution we want as this requires internet access, and not all of our customers have that. But I'm still curious about the answer to this one.

没有。在这种情况下,我们需要将清单发布到 Office 商店。

据我了解,Office 加载项中指定的域仅允许用户在任务窗格中导航 HTML 页面。

work against our customers own servers, running our own software, to display their pictures

通常,这不需要应用程序域配置。您介意分享更多用户如何连接他们的服务的细节吗?