cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
New Member

PowerApp to send a SharePoint document with shareable link

I have a SharePoint document library with files that have permissions to be shared externally. As you all know, if you select share, you have the option to send a link that "Anyone with the link can view" - so, doing that directly in SharePoint I can send a link to gmail or other external addresses. 

I've created a PowerApp that uses that document library as the source. I made a collection of the documents (using ClearCollect) and I'm able to see a lot of data on the documents, including th link. Unfortunately, it is not the same link you get when sharing directly from SharePoint. 

You get a link like this from the Document Library collection: 

https://companyname.sharepoint.com/sites/Team-TeamName/Library%20Name/DocName.pdf 

 

Instead of like this (which is the link you get from sharing from SharePoint): 

https://companyname.sharepoint.com/:b:/s/Team-TeamName/ETRFsLeMHWBOoPJ1y9zpRrABHabmAya0rrUVfxA8OlA8mQ?e=cZjDsG 

How can I access the "shareable" link for use in my PowerApp? Thanks for the help!

1 ACCEPTED SOLUTION

Accepted Solutions
Super User III
Super User III

Hi @pciskanik ,

The only way I know is to generate the link and paste it in a column in the item (for each file).

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

1 REPLY 1
Super User III
Super User III

Hi @pciskanik ,

The only way I know is to generate the link and paste it in a column in the item (for each file).

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

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