office-jsoutlook-addinoffice-addinsoffice-js-helpers

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


I'm looking for a way to read resource strings and URLs from the add-in manifest.

Does someone know a way?

Thanks!


Solution

  • If the manifest file is hosted anywhere and the URL is clearly defined on the web server you can use the XMLHttpRequest Web API to get the data programmatically. Otherwise, there is no way - OfficeJS doesn't provide anything for that.