web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Mask URL from the Laun...
Power Apps
Unanswered

Mask URL from the Launch() function

(0) ShareShare
ReportReport
Posted on by 77
hi everyone, 
 
Is it possible to mask/hide the URL using Launch() function? I prefer not to have my users know the documents location.
 
I am using the below formula on select of a button within a gallery
Launch(varDocument.'Link to item',{},LaunchTarget.New)
I have the same question (0)
  • WarrenBelz Profile Picture
    153,084 Most Valuable Professional on at
    Not possible as Power Apps simply passes the URL to your browser, which then opens it and displays it in the address bar). If this is a SharePoint Library, you could create a Text field (something like MaskedLink), then open SharePoint and on each file, select the "three dots" and then Copy link. You may need to go into Settings and change the access (the bottom one would be good for your purposes). You can then copy this link into the new field of each file and launch it,
     
     
    The link looks something like this (so the user can only see the site name)
    https://YourDomain.sharepoint.com/:b:/g/YourSite/EbRbRnzcecFMjI03DOQR7kEBtQUOeHjzwwyovBP4bcvZ6w?e=Nc4OYd
     
    Please click Does this answer your question 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 a Like.
    MVP (Business Applications)    Visit my blog Practical Power Apps    Buy me a coffee
  • WarrenBelz Profile Picture
    153,084 Most Valuable Professional on at
    A quick follow-up to see if you received the answer you were looking for or if you need further assistance.

    Please click Does this answer your question 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 a Like.
    MVP (Business Applications)    Visit my blog Practical Power Apps   
  • nicklimcs Profile Picture
    77 on at
     
    Sorry for the late reply.
     
    I did test out the solution you provided and it did not work, when I copied the link in SharePoint library, it is somehow still showing the full path of the document location.
     
    Below is how the URL looks like
    https://domain.sharepoint.com/:b:/r/teams/siteName/libraryName/documentName.pdf?csf=1&web=1&e=83x5aX
     
    The closest that I can get is by using Office365Groups.HttpRequest() to launch the document.
    https://domain.sharepoint.com/teams/siteName/layouts/15/embed.aspx?uniqueId=a bunch of random characters
     
    Thanks for the suggestion.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard