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 / Making a Gallery the D...
Power Apps
Unanswered

Making a Gallery the Default when Screen Opened

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi, 

 

I have 2 screens.

On Screen 1 I press a button to get to Screen 2.

Screen 2 contains multiple galleries that are made visible when clicking on the appropriate buttons within this screen. However, everytime someone goes into Screen 2, I want one of the galleries (Gallery_Main) to be the default visible gallery, so this gallery is visible and the others stay hidden when Screen 2 is opened. At the moment, if I am on any of the galleries in Screen 2, and then I leave that screen to go back to homescreen, when I click back into Screen 2 it shows the same gallery I was on before. I don't want this, I want the default to be Gallery_Main.

 

Any help is much appreciated.

Categories:
  • v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

     

    We can set a variable which controls the visibility of the gallery.

    vxiaochenmsft_0-1682389321220.png

    vxiaochenmsft_1-1682389334917.png

    vxiaochenmsft_2-1682389343785.png

     

    Best Regards,

    Wearsky

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @v-xiaochen-msft ,

     

    Currently, the visibility of my galleries are set to themselves. As the Blue Buttons control their visibility using UpdateContext. 

    So, if I have already have this in the visibility field, how can I also also use the variable to make sure it opens as default?

    Thanks

     

    Luke_W_1-1682408914769.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