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 / Launch Function not wo...
Power Apps
Answered

Launch Function not working on some Links

(0) ShareShare
ReportReport
Posted on by 71

Hi,

 

I'm building a Power App with a Gallery from which I want to open Links. Some of them work (Excel file via "https://<company>.sharepoint.com/<...>&file=<filename>.xlsx" and a Power App via "https://apps.powerapps.com/play/<...>") but others don't. I tested if an entry with google.com works, which didn't. 

 

It is configured like this:

- Gallery.Items = Anwendungen

Numan_Dev_3-1647867173178.png

 

- Gallery.OnSelect = Launch(ThisItem.URL)

Numan_Dev_2-1647867107477.png

- App.OnStart = ClearCollect(Anwendungen;
{
Titel: "Test";
Kurzbeschreibung: "Google";
Kategorie: "Allgemein";
Symbolbezeichnung: "Uhr";
URL: "https://www.google.com/"
}; ...)

Numan_Dev_1-1647867061729.png

 

I Also tried Gallery.OnSelect = 

- Launch(EncodeUrl(ThisItem.URL))
- Launch(Concatenate(Anwendungen_Gallery.Selected.URL;"?web=1"))
- Launch(ThisItem.URL; {}; LaunchTarget.New)

 

 

Then I tried to launch google from a button, which also didn't work... I just added a button to the screen with OnSelect=Launch("https://www.Google.com").

 

The gallery and button are both in DisplayMode=Edit.

 

Hope someone can help.

 

Categories:
I have the same question (0)
  • Sara Nunes Profile Picture
    Microsoft Employee on at

    Hi @Numan_Dev,

     

    I have reproduced this issue on my power apps maker and I was able to open the URL on the gallery's picture using Launch(ThisItem.URL). I also tested the button with the google URL and it worked fine. I tested the app with Microsoft Edge FYI.

     

    This seems like it's a browser issue. Could you try to run the app on another browser and in incognito mode? To identify if it is a browser issue.

     

    Thank you,

    Sara Nunes

  • Verified answer
    Numan_Dev Profile Picture
    71 on at

    Hi @saranunes,

     

    Thanks for your fast reply! 🙂 

    I tested it in Edge private mode and now indeed everything works.

    I use Chrome with a popup blocker extension that normally asks me if I want to allow the popup, but I now tested it with the blocker deactivated, and after reloading the tab it now also works in Chrome...

     

    Best

    Numan

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