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 / 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,679 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,679 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

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