cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Regular Visitor

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
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

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

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (19,893)