cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
RFisch18
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
TiagoFreire
Continued Contributor
Continued Contributor

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.

 

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()

TiagoFreire
Continued Contributor
Continued Contributor

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. 

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

TiagoFreire
Continued Contributor
Continued Contributor

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)

v-xida-msft
Community Support
Community Support

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.

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?

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.

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
User Groups Public Preview

Join us for our User Group Public Preview!

Power Apps User Groups are coming! Make sure you’re among the first to know when user groups go live for public preview.

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (67,353)