Forum Discussion

Deleted's avatar
Deleted
Oct 19, 2018

Open documents on mobile in native apps by default

When using SharePoint search or the Graph API to return documents, we get the following document url format:

https://[tenantid].sharepoint.com/sites/[sitename]/_layouts/15/Doc.aspx?sourcedoc=[docguid]&file=[filename]&action=edit&mobileredirect=true&DefaultItemOpen=1

 

This url works great on desktop browsers. The document is opened in the corresponding Office Online app in edit mode. On mobile devices the document is also opened in the browser in an Office Online editor. On mobile however we would like to automatically have the document opened in the native mobile Office app. What is the correct way to do that?

No Replies

Resources