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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Multiple Screens - Mul...
Power Apps
Unanswered

Multiple Screens - Multiple Galleries - Make Default Selected Gallery Item Change Based on the one selected.

(0) ShareShare
ReportReport
Posted on by

IDK if my topic makes much sense, but here goes:

 

PatrickMcLeanGL_1-1706639503391.png

I have the screen changing depending on the stage of the item selected. So if I selected Grape Quake, it changes to ScreenStage12. This part works, but when it changes to ScreenStage12, the selected gallery item in the new gallery is not the same as the one I selected. No matter what item/screen I am on, I want it so that if I selected Grape Quake (Stage 12) it moves me to ScreenStage12, and automatically selects the Grape Quake item.

 

What I have tried is in the gallery onselect, setting a global variable (MySelected) to "ListItemGallery.Selected" for each gallery, and then setting the default for each gallery to "MySelected". But that doesn't work, it actually makes it so nothing is selected when the screen changes.

Categories:
I have the same question (0)
  • TheRobRush Profile Picture
    11,128 Moderator on at

    try setting OnSelect of first Gallery (not its controls) to

    Set(myItem, ThisItem)

    then the control OnSelect to 

    Select(Parent)

     

    then place a galleyr on same page with the items of

    myItem

     

    then if that works, just add the navigate to the onselect of the gallery and delete the test galleyr

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard