Reputation: 16563
I have an Office add-in for Microsoft Word.
For providing support to users and also for debugging, it would be very helpful to know the precise version of Office being used by my users.
Does the Office.js API include a way to get the Office version being used? I did not see that in the API documentation.
Upvotes: 0
Views: 821
Reputation: 49395
You can use Office.context.diagnostics.platform
property to identify the host platform. And you also will be interested in the Office.context.diagnostics.version
property which returns the version.
Read more about other alternative ways on the Neat ways to get environment (i.e. Office version) thread.
Upvotes: 2