Programmatically access offline files from a separate application

Mike Koel 1 Reputation point
2020-07-24T14:27:20.917+00:00

A question for mobile devices in general, not just Android.

A co-worker has shared a folder with me.

I go in to the OneDrive mobile app, click the 'Shared' tab, and I am able to see the folder that was shared.

From that 'Shared' tab, I'm able to open the ellipses menu for the folder that was shared, and tell it to 'Keep offline'. At which point that folder, and its contents, are synced to my mobile device. All of which are available for viewing even if I have no internet connection.

Given that I know the name of the shared folder and the names of its contents, and I'm completely offline, my question is:
From a different application, am I able to link directly to the folder or its contents that I just synced through some form of deep link through the OneDrive app?

Prefixing a link with ms-onedrive://{something}.. does trigger the OneDrive mobile app to open to the main Files page, but seems unable to go further. I would expect something like ms-onedrive://shared/path/to/offline/content to bring me to that shared folder I had synced.

Let me know if anyone's had any experience with this.
I appreciate any help.
Thanks.

Microsoft 365 and Office | Install, redeem, activate | For business | Windows
{count} votes

1 answer

Sort by: Most helpful
  1. JoyZ 18,111 Reputation points
    2020-07-27T07:23:24.523+00:00
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.