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 gallerys, how to c...
Power Apps
Unanswered

Two gallerys, how to choose one is visible on the start of the apps URL?

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

I have two gallerys.

 

One is opened by a button onSelect. The other I want to default to be open.

 

How can I ensure on the start of loading the app only the 1 certain gallery is shown?

 

Thanks.

Categories:
I have the same question (0)
  • Ami K Profile Picture
    15,687 Super User 2024 Season 1 on at

    @wonka1234 -

     

    Use a Global Variable. For example on the OnVisible property of the Screen, enter: 

     

    Set(
     varGallery2Visible,
     false
    )

     

     

    On the Visible property of the Gallery you want to ensure is hidden, enter:

     

    varGallery2Visible

     

     

    ------------------------------------------------------------------------------------------------------------------------------

     

    If I have answered your question, please mark your post as Solved. Remember, you can accept more than one post as a solution.

    If you like my response, please give it a Thumbs Up.

    Imran-Ami Khan

     

     

  • wonka1234 Profile Picture
    920 Super User 2024 Season 1 on at

    getting error on the browsegallery1 visible property - i want to hide this one.. i do have a button to h ide it.. but i just want to make sure the first thing seen isnt this screne..

     

    wonka1234_0-1694032457833.png

     

  • Ami K Profile Picture
    15,687 Super User 2024 Season 1 on at

    @wonka1234 ,

     

    On the OnCheck property of the Toggle control, enter:

     

    Set(
     varGallery2Visible,
     true
    )

     

    On the OnUnCheck property of the Toggle control, enter:

     

    Set(
     varGallery2Visible,
     false
    )

     

    On the OnVisible property of the Screen, enter only:

     

    If(
     Toggle1.Value,
     Set(
     varGallery2Visible,
     true
     ),
     Set(
     varGallery2Visible,
     false
     )
    )

     

    On the Visible property of the Gallery, enter only:

     

    varGallery2Visible

     

    ------------------------------------------------------------------------------------------------------------------------------

     

    If I have answered your question, please mark your post as Solved. Remember, you can accept more than one post as a solution.

    If you like my response, please give it a Thumbs Up.

    Imran-Ami Khan

     

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!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 846

#2
Valantis Profile Picture

Valantis 532

#3
Haque Profile Picture

Haque 410

Last 30 days Overall leaderboard