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 / Two galleries and two ...
Power Apps
Answered

Two galleries and two edit forms, but item selected defaults to first gallery selection

(0) ShareShare
ReportReport
Posted on by 1,369 Super User 2024 Season 1

Hi all,

 

The intended functionality for the app I'm working on is to 1) show accounts that need to be deactivated and then 2) show accounts that need to be reactivated. 

 

I have four screens: BrowseScreen1, showing my first gallery of accounts, a corresponding edit screen, and then BrowseScreen2_Reconnects, showing my second gallery of accounts, and the edit screen for that.  The user can toggle between these with an OnSelect button using <Navigate(BrowseGallery1_1, ScreenTransition.None)> or <Navigate(BrowseGallery1, ScreenTransition.None)>

Rusk_0-1649951124802.png

 

The problem I'm having is that after selecting an item in the first gallery, it stays selected somehow when I am on the second gallery. 

 

Example: 

  • In Gallery #1, I select item #3 and edit it using the right arrow (OnSelect <EditForm(EditForm1);Navigate(EditScreen1, ScreenTransition.None)>)
  • I swap to Gallery #2 <Navigate(BrowseGallery1_1, ScreenTransition.None)>
  • I select item #2 and attempt to edit it using the right arrow (OnSelect <EditForm(EditForm2_Reconnect);Navigate(EditScreen2_Reconnect, ScreenTransition.None)>)
  • Item #3 opens up for editing in EditScreen2_Reconnect, not Item #2.

Any ideas why this is occurring?  Thank you in advance for any assistance you can provide!!

 

Categories:
  • Verified answer
    Rusk Profile Picture
    1,369 Super User 2024 Season 1 on at

    I found my mistake - my 2nd edit form didn't have the correct Gallery in the "Item" value.  I updated that and now it's working correctly 🙂

     

    Rusk_0-1649975367660.png

     

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
11manish Profile Picture

11manish 393 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 278 Most Valuable Professional

Last 30 days Overall leaderboard