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

Launch File from SP with no permission to download

Hello !

 

i have groupe of user with "restricted display" permission and i want to let them view file from my SP list : 

Nass_0-1601019017169.png

When i use launch(thisitem.'link') i get this screen

Capture.PNG

 

The issue is here : 

Nass_1-1601019111959.png

The link i get from this screen is  working : 
"https://"mySPlist"/sites/Projetevolutionbasedoc/Documents%20partages/Forms/AllItems.aspx?id=%2Fsite...

And why this link is not the same ? 

Capture.PNG

The link i get in this screen is the link i can get in powerapps with thisitem.link and this link is not working :

"https://"mySPlist"/:b:/r/sites/Projetevolutionbasedoc/Documents%20partages/sample.pdf?csf=1&web=1&e=41Q3Mv"

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
VijayTailor
Resident Rockstar
Resident Rockstar

Hi Nass,

Yo

https://XXXX.sharepoint.com/sites/WFH_Daily/Shared%20Documents/TestFIleFolder/"&"1. Instructions_for_MLHP_Correction_Verification (1).pdf
Formate like below - 
https://<change the Sharepint url>/sites/Projetevolutionbasedoc/Shared%20Documents/<Change the Folder name>/"&"<FIleName>.pdf<Extension>

Test Code Below - 
Launch("https://XXXX.sharepoint.com/sites/WFH_Daily/Shared%20Documents/TestFIleFolder/"&"1. Instructions_for_MLHP_Correction_Verification (1).pdf");

u can use like above Code. Tested work 100%.

Hope this solution resolves your issue.

Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

Please Vote for my idea if you feel, that will help you in the future or good to have in power app.
https://powerusers.microsoft.com/t5/Power-Apps-Ideas/Ability-s-to-Select-Icon-from-UIFabric/idi-p/69...

https://powerusers.microsoft.com/t5/Power-Apps-Ideas/Preview-Mode-for-All-the-Device-Like-Phone-Tabl...



View solution in original post

2 REPLIES 2
VijayTailor
Resident Rockstar
Resident Rockstar

Hi Nass,

Yo

https://XXXX.sharepoint.com/sites/WFH_Daily/Shared%20Documents/TestFIleFolder/"&"1. Instructions_for_MLHP_Correction_Verification (1).pdf
Formate like below - 
https://<change the Sharepint url>/sites/Projetevolutionbasedoc/Shared%20Documents/<Change the Folder name>/"&"<FIleName>.pdf<Extension>

Test Code Below - 
Launch("https://XXXX.sharepoint.com/sites/WFH_Daily/Shared%20Documents/TestFIleFolder/"&"1. Instructions_for_MLHP_Correction_Verification (1).pdf");

u can use like above Code. Tested work 100%.

Hope this solution resolves your issue.

Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

Please Vote for my idea if you feel, that will help you in the future or good to have in power app.
https://powerusers.microsoft.com/t5/Power-Apps-Ideas/Ability-s-to-Select-Icon-from-UIFabric/idi-p/69...

https://powerusers.microsoft.com/t5/Power-Apps-Ideas/Preview-Mode-for-All-the-Device-Like-Phone-Tabl...



Hey VijayTailor,

 

Thank YOU  ! this solution resolves my issue.

 

 

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (3,220)