Open docx file in Word (client) from hosted app (SP 2013)

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

asked Sep 15, 2014 at 2:55 111 1 1 gold badge 2 2 silver badges 7 7 bronze badges

We have exactly same requirement in our project but instead of SP 2013, we are creating hosted app for SP online. Have you got solution for this?

Commented Aug 24, 2017 at 13:03

This does not really answer the question. If you have a different question, you can ask it by clicking Ask Question. You can also add a bounty to draw more attention to this question once you have enough reputation. - From Review