Skip to main content

Notifications

Power Apps - Power Apps Pro Dev & ISV
Unanswered

Mask URL from the Launch() function

Posted on 3 Dec 2024 05:26:51 by 69
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)
  • WarrenBelz Profile Picture
    WarrenBelz 143,595 on 15 Dec 2024 at 04:38:08
    Mask URL from the Launch() function
    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    Buy me a coffee
  • WarrenBelz Profile Picture
    WarrenBelz 143,595 on 03 Dec 2024 at 06:37:45
    Mask URL from the Launch() function
    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

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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,595

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 64,098

Leaderboard