Skip to main content
Community site session details

Community site session details

Session Id : 1tDClU+UnWomw9KeV3zjhD
Power Apps - Building Power Apps
Answered

Group Visibility, change OnSelect

Like (0) ShareShare
ReportReport
Posted on 27 Feb 2024 19:45:38 by 30

I have a custom list form. User wants a "pop up" with instructions to be visible by default until button is pressed to hide. I've looked all over but I can't seem to find or understand how to accomplish this.  I'm uncertain how or where to set the variable. Everything I find is assuming you want to press a button to reveal a pop up. I want the opposite. 

So I have a group. Visible set to true. In that group there is a button. I want the group to be visible = false onselect of that button. Is this possible?

  • Allison Profile Picture
    30 on 27 Feb 2024 at 20:39:40
    Re: Group Visibility, change OnSelect

    YES! That's the ticket! Thanks so much!

  • Verified answer
    DavidZoon Profile Picture
    738 Most Valuable Professional on 27 Feb 2024 at 20:05:55
    Re: Group Visibility, change OnSelect

    Hello,

    Your have to revert the logic 😁

    Create your popup dialog box in a group, or, better, in a container.

     

    Add a close/dismiss button with in his .OnSelect : 

     

    UpdateContext({ ctxDismissPopup: true })

     

     

    Then, set the .Visible of your group / container to

     

    !ctxDismissPopup

     

     or Not(ctxDismissPopup) that's the same

     

    By default, your context variable will be blank, the popup will remain visible until the variable is updated to true

    If you need to show the popup again, you'll have to update ctxDismissPopup to false or Blank() in another event, (example in the .OnHidden or .OnVisible event of the screen, will make the popup visible each time the screen is reloaded)

     

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily.

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410 Super User 2025 Season 2

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 2

Loading complete