Hot answers tagged word
Based on the comment, I am writing an alternative solution. Add ?web=1 or ?web=0 for open or download your document. web=0 means file will be downloaded when you hit this URL in browser. web=1 means file will be opened in browser using office online. Example Let's say your document URL is serverurl/Local Library/SharePoint 2013 Installation Guide.docx, ...
Only top voted, non community-wiki answers of a minimum length are eligible