Word Addin - Get version from the manifest file
We have developed a Word Add-in using Angular and are currently using OfficeJS for performing Word-related operations.
We want to programmatically access the manifest version (i.e., the version specified in the add-in manifest file) from our Angular application.
Constraints / What We've Tried:
- We're unable to pass the version as a query parameter to the add-in (e.g., in SourceLocation).
- We don't have access to the path or location where the manifest file is hosted, so we can't directly read or fetch it at runtime.
- Office.js does not expose the manifest version or any metadata from the manifest file.
Question:
Is there any other way or library that allows us to access the manifest version of the Word Add-in from within the Angular application?
Any suggestions or workarounds would be appreciated!
1 Comment
- EyalAlaloufCopper Contributor
We're developing an Outlook add-in & face a similar issue.
We've made a manifest change & we'd like to verify that the end-user indeed received it.
Since the manifest update is a process that requires admin attention (we added events & new permissions), it may well not happen.
In such a case, say a week after deployment, we'd like to ask the end-user to contact the administrator so the manifest is updated.Support for Office.js providing the add-in manifest is therefore required.