Posts

Showing posts from November, 2019

Open office documents from SharePoint to Client Apps

If you want to open any office document in client side app pragmatically then here is the solution : <script type="text/javascript" language="javascript"> window.location.href = " ms-excel:ofe|u| https://mytenant.sharepoint.com/MyLib/MyExcel.xlsx"; </script> You can use MS Office apps URL scheme names to open any office document in client app from SharePoint. List of MS Office apps URL scheme names: ms-word: ms-powerpoint: ms-excel: ms-visio: ms-access: ms-project: ms-publisher: ms-spd: ms-infopath: To know more about URL scheme, Click Here .