cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Advocate I
Advocate I

Launch Onedrive Application to Site (Sharepoint) location

I have a Canvas App that I would like to include a button on that will launch the OneDrive App and open to a sharepoint location. 

 

I am trying the following syntax

 

Launch("ms-onedrive:https://[Site].sharepoint.com/sites/[FolderPath]")

 

Is this even possible?

 

The ondrive app launches just fine, just to the normal startup screen (All Files)

9 REPLIES 9
Highlighted
Continued Contributor
Continued Contributor

Re: Launch Onedrive Application to Site (Sharepoint) location

You can Launch() Sharepoint directly by using just the URL of any Sharepoint site with the path for the folder you want.
The same applies for OneDrive folders.
You don't need to prepend the OneDrive protocol to the URL.

 

Highlighted
Advocate I
Advocate I

Re: Launch Onedrive Application to Site (Sharepoint) location

I need to open the location in the onedrive app, not sharepoint. It is a folder of Fillable PDFs that for some reason are only workable in the onedrive app, not sharepoint. 

 

Also, when I put a link to the sharepoint location it opens it in safari using only launch()

Highlighted
Continued Contributor
Continued Contributor

Re: Launch Onedrive Application to Site (Sharepoint) location

When you say "onedrive app" you mean online, or on the desktop? 

 

Like I said, you can Launch either Sharepoint Online or Onedrive Online - or any website for that matter - with Launch().

 

Launching desktop apps is unsupported AFAIK. Last time I searched for ways to do it, I came out empty handed. 

Highlighted
Advocate I
Advocate I

Re: Launch Onedrive Application to Site (Sharepoint) location

Yes the Desktop app, more importantly, the mobile app when used on an IOS device. This is where we use all of our Powerapps

Highlighted
Continued Contributor
Continued Contributor

Re: Launch Onedrive Application to Site (Sharepoint) location

When I asked, I asked specifically to Windows Desktop, and the answer I got was a no-no, plus a suggestion to go into Ideas and vote for an existing idea or creating your own.

 

Maybe the mobile versions can launch using protocols, I don't know about that.

But my understanding is that the ability to pass a path to the app and have it load the path would be a feature that would have to be implemented on the app side, beyond the scope of powerapps. If it is already possible, I would like to know too. 

 

( would love this implemented for Windows Desktop too)

Highlighted
Community Support
Community Support

Re: Launch Onedrive Application to Site (Sharepoint) location

Hi @RFisch18 ,

Could you please share a bit more about your scenario?

Do you want to launch your native OneDrive Client App from your iOS device, and open a specific SP Location?

 

Currently, there are no any documents mentioned about this URL schema parameters for OneDrive. On your side, please consider take a try with the following formula:

Launch("ms-onedrive://sites/[FolderPath]")

 or

Launch("ms-onedrive://[Site].sharepoint.com/sites/[FolderPath]")

or

Launch("ms-onedrive://files/path=https://[Site].sharepoint.com/sites/[FolderPath]")

 

If you would like to get further help with your issue, please consider submit an assisted support ticket through the following link:

https://powerapps.microsoft.com/en-us/support/

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Advocate I
Advocate I

Re: Launch Onedrive Application to Site (Sharepoint) location

This seems to be headed in the right direction. Yes I would like to open the OneDrive App on an IOS device to a sharepoint location. 

 

Launch("ms-onedrive://sites/[FolderPath]")

 

The above launches the app to the Libraries section but I can't seem to get it to pull up my document library. I'm now trying a million different things after "://sites" any other ideas?

Highlighted
Community Support
Community Support

Re: Launch Onedrive Application to Site (Sharepoint) location

Hi @RFisch18 ,

Please take a try with the following formula:

Launch("ms-onedrive://sites/SiteName/LibraryName")

 

If you would like to get further help in this issue, please consider submit an assisted support ticket through the following link:

https://powerapps.microsoft.com/en-us/support/pro

 

Best regards, 

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Advocate I
Advocate I

Re: Launch Onedrive Application to Site (Sharepoint) location

Thanks for the help @v-xida-msft .

 

Here is what I tried, no luck. 

     Launch("ms-onedrive://sites/Flight/Senior%20Capt%20Upgrade")

     Launch("ms-onedrive://sites/crp-Aviation/Flight/Senior%20Capt%20Upgrade")

     Launch("ms-onedrive://sites/teams/crp-Aviation/Flight/Senior%20Capt%20Upgrade")

     Launch("ms-onedrive://sites/Flight/Senior Capt Upgrade")

     Launch("ms-onedrive://sites/crp-Aviation/Flight/Senior Capt Upgrade")

     Launch("ms-onedrive://sites/teams/crp-Aviation/Flight/Senior Capt Upgrade")

 

Here is a link to the sharepoint document library for reference

https://abbott.sharepoint.com/teams/crp-Aviation/Flight/Senior%20Capt%20Upgrades/Forms/AllItems.aspx

 

Also I have found the following to at least get the onedrive app to look for something but I get a pop up message saying "Cant display the page. The Item could not be found"

 

Launch("ms-onedrive://sites?id={unsure where to find the correct ID}"

 

any other ideas?

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (7,887)