I have a client hosted app (written in Javascript) which includes links to documents in a document library on the tenant. If I point the url's straight to the documents, they simply download.
What I want to do is have the document open in the Word client app, just as it does when opening it directly from the document library (with 'open in client' enabled).
Any ideas on how to implement this in the app?
Thanks