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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Opening multiple links...
Power Apps
Unanswered

Opening multiple links with a single trigger point (Canvas App)

(0) ShareShare
ReportReport
Posted on by 14

Hi,

 

I have a vertical gallery in a Canvas App, which has buttons and each button refers to sharepoint files.

 

Is there a way to create a separate button on the screen, on click of which to achieve triggering the click of all those buttons available in the gallery.

 

In other words, can we open multiple urls on click of a single button assuming the urls being fetched from gallery data.

 

Any information on the feasibility would be appreciated.

 

Thanks.  

Categories:
I have the same question (0)
  • StalinPonnusamy Profile Picture
    Super User 2024 Season 1 on at

    Hi @thrishik 

    This is definitely possible. onselect button property 

     

    Launch(ThisItem.Website)

     

    Update "ThisItem.Website" to your data field

    StalinPonnusamy_0-1626273593418.png

     

    If you like this post, give it a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users to find it.

     

  • BCLS776 Profile Picture
    8,994 Moderator on at

    If you have properly formatted URLs in your gallery, you could try:

    ForAll (Gallery1.AllItems, // Put the proper name of your gallery here
     Launch(ThisRecord.URL); // URL refers to the URL value in the gallery item record
    )

    However, this will launch a separate browser window for each URL in the gallery...

  • Thrishik Akula Profile Picture
    14 on at

    Hi @StalinPonnusamy ,

     

    looks like there was a misunderstanding, My aim to provide a common button which can open all the gallery links on a single click at once.

  • StalinPonnusamy Profile Picture
    Super User 2024 Season 1 on at

    Hi @BCLS776 

     

    I tried your option but not seams works. It always only one. Any thoughts?

     

    StalinPonnusamy_0-1626279976875.png

     

  • BCLS776 Profile Picture
    8,994 Moderator on at

    @StalinPonnusamy I am seeing the same issue as you - thanks for pointing it out. I can confirm the ForAll loops correctly, but the Launch() is resulting in only one new browser window. This may be on the browser's side - it is ignoring further requests for a new window until the first one has launched and is completely mounted. I will see if I can find a workaround for it.

  • BCLS776 Profile Picture
    8,994 Moderator on at

    To add to my last post, the ForAll code I shared operates at a rate of 3-10 milliseconds per Launch() call. I can't think of a reason why a browser would allow new windows to open at that rate without blocking it as some sort of security vulnerability.

     

    @thrishik can you help us understand better why you need so many URLs opened at once? Perhaps we can make a better suggestion for you.

  • Thrishik Akula Profile Picture
    14 on at

    @BCLS776 , 

    there will be multiple SharePoint documents in the gallery and the user feels like it's too much work to go and click on every link when there are multiple files. So, they requested a way to function that on a single click to launch all the links available in the gallery.

     

    Also I did try your first suggestion before posting this query in community and I have tried all the possibilities I could by searching through documentation but I didn't find a possible way.

     

    So, reaching out in community if anybody can firmly can if this is feasible or not and if feasible then what might be the possible way to achieve it.

     

    Thanks for the time and do let me know in case of any possible solution/workaround if you are aware of.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 355 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 150 Super User 2026 Season 2

Last 30 days Overall leaderboard