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:
  • timl Profile Picture
    37,409 Super User 2026 Season 2 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
    37,409 Super User 2026 Season 2 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
    37,409 Super User 2026 Season 2 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 226 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 191 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 167

Last 30 days Overall leaderboard