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

Launch Function not working on some Links

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.

 

1 ACCEPTED SOLUTION

Accepted Solutions

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

View solution in original post

2 REPLIES 2
saranunes
Microsoft
Microsoft

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

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

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (3,126)