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 / Multiple Browse Galler...
Power Apps
Answered

Multiple Browse Galleries showing same record

(0) ShareShare
ReportReport
Posted on by 121

Hi.

I have 5 different versions of the same gallery with thd search pre populated and then hidden.

When I click on a record in the primary Gallery the record opens correctly. When I click on any item in the others it opens the original record from the 1st. 

I understand I need to somehow link the other galleries but don't know how.

 

Thanks

Categories:
I have the same question (0)
  • timl Profile Picture
    36,715 Super User 2026 Season 1 on at

    Hi @Markswan20 

    This is most likely because you're using a Form to display the record and the form is connected to your primary gallery.

    If this is the case, add the following to the OnSelect property of your galleries:

    Set(varRecord, ThisItem)

    If you then set the Item property of your form control to varRecord, it should display the selected record from whatever gallery you selected.

  • Markswan20 Profile Picture
    121 on at

    Thanks for the reply, 

     

    • In the gallery I have code in the OnSelect Navigate(DetailScreen1, ScreenTransition.None)

    I have tried the Set(varRecord, ThisItem);

     

    • Before the onselect but it still takes me to the wrong record.
  • Verified answer
    timl Profile Picture
    36,715 Super User 2026 Season 1 on at

    @Markswan20 

    You'll need to change the OnSelect of the gallery like this:

    Set(varRecord, ThisItem);
    Navigate(DetailScreen1, ScreenTransition.None)

    Can you confirm that you've changed the Item property of the Form in DetailScreen1 to be varRecord?

  • Markswan20 Profile Picture
    121 on at

    Awesome, works a treat, I was seriously over complicating this so thank you

  • timl Profile Picture
    36,715 Super User 2026 Season 1 on at

    You're welcome @Markswan20 - glad that's working for you.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 549 Most Valuable Professional

#2
Kalathiya Profile Picture

Kalathiya 225 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 224

Last 30 days Overall leaderboard