I'm working on an Office Add-In and need to be able to tell if the document was loaded in the standard Office software or Office365 Online.
I've checked the docs and can't find anything.
In office.js, there is an enumeration that looks as if it should be used somewhere, but i can't tell what property/event notifies us of the type. I have also stuck a breakpoint on the Office object and can't see anything.
Microsoft.Office.WebExtension.ApplicationMode={
WebEditor: "webEditor",
WebViewer: "webViewer",
Client: "client"
};
Does anyone know how to do this please?