Showing results for 
Search instead for 
Did you mean: 

Launch several URLs in one click

I would like to create a button, which opens several URLs in different tabs onSelect.

I do that like this:

Launch("", {}, LaunchTarget.Blank);

Launch("", {}, LaunchTarget.Blank)


Somehow only the first URL opens, then it seems to stop.

What do I do wrong here?

Thank you


Community Support
Community Support

Hi @rogerh ,

Yes, the launch function can only be triggered once on one button.

As an alternative workaround, put two launch code to two button, and add the third button to select them.

1. BingButton.OnSelect:  Launch("", {}, LaunchTarget.Blank)

2. GoogleButton.OnSelect:  Launch("", {}, LaunchTarget.Blank)

3. The Button3.OnSelect: Select(BingButton);Select(GoogleButton)


Note: you can set two button to be invisible if they are not needed.


Hi @v-siky-msft ,

I tried that beforehand. I have the buttons anyway but want to implement a shortcut for the user (we have about 12 different sites to open and it would be convenient - if needed - to do it in one go).

However, the result is exactly the same. The first website gets opened, the rest not. I


Hi @rogerh ,


It's weird that when I try the following code again, it manages to open two separate windows.

Launch("", {}, LaunchTarget.Blank);Launch("", {}, LaunchTarget.Blank)

The LaunchTarget argument is currently in Preview, and the LaunchTarget enum names are in transition. I am not sure if this is the if this is the problem, but I suggest you switch browsers and create a new app to try again to see if it works well.



Hi @v-siky-msft 

That's now really, really strange. 

I tried calling Select to two buttons, only the first one is displayed,

I called Launch (as you did below) form one button, only the first is displayed


I tried Edge and Chrome - still the same. 

So somehow we seem to have different results with the same code


Hi @rogerh ,


It may not work as expected since it was just completed few days ago and still in Preview stage.

I found a suggestion that You cant leave the second parameter blank, not even fill it with some parameter in double quotes, you have to use the curly braces format and fill it with something, blank object doesn't work as well. So this works for me and doesn't break anything from here 

So please try this to see if it can open two separate windows:

Launch("", {q:"1"}, LaunchTarget.Blank);Launch("", {q:"1"}, LaunchTarget.Blank)

Hope this helps.


Hi @v-siky-msft 

thank you for investing the time!

Basically the launch by itself works. But whatever I do, only the first tab loads...


Helpful resources

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users


We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (70,346)