从 Outlook 任务窗格内的 React 应用程序读取 Office 加载项清单文件

read the office add-in manifest file from the react app which is inside the Outlook task pane

我正在寻找一种从加载项清单中读取资源字符串和 URL 的方法。

有人知道方法吗?

谢谢!

如果清单文件位于任何地方并且 URL 在 Web 服务器上明确定义,您可以使用 XMLHttpRequest Web API 以编程方式获取数据。否则,没有办法 - OfficeJS 没有为此提供任何东西。