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 / Showing a Pop Up and C...
Power Apps
Unanswered

Showing a Pop Up and Closing with an OK button

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello,
I am in the process of trying to create a popup using various sized Icons, label and a button then creating a group.
I will have to create a few of these and each will show based on the drop down selection chosen.

Chrislond58_0-1617281217381.png


What I would like to do is hide or send to back or anything once the OK button is clicked; is this possible?

Thank you!

Categories:
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @Anonymous 

    Check out Shane Youngs video for how to do that and more here https://www.youtube.com/watch?v=1tJk7LxgocA 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I like Shane and his channel but in this case he didn't offer a solution to my question and the same question someone else had. I am actually trying to do what he told this user.

    Chrislond58_0-1617285619468.png

    I will do some more searching.
    There has to be a solution out there.

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @Anonymous 

    You didn't specify how you are showing your popups.  are you using a context variable ie. UpdateContext() to show your popups?  If so, you can hide and unhide them by creating the variable in you menu with the OnSelect of the button and putting that variable as the Visible property of the popup group and changing it to false in your "x" icon. 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    No, I am showing the popup based on the value of a dropdown box.
    My dropdown box will have four choices and each choice will trigger their respective popups.
    What I would like to do is make the popup hide or not be visible when "OK" is clicked.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Chrislond58_1-1617287676178.png

     

  • WarrenBelz Profile Picture
    156,774 Most Valuable Professional on at

    @Anonymous ,

    Adding to @Drrickryp 's suggestion (which is correct and the only way to do it), set the Variable on the OnChange of the ComboBox

    UpdateContext({varPopup:Self.Selected.Value="Admin"})

    Visible on the pop-up

    varPopup

    On the OK button OnSelect 

    UpdateContext({varPopup:false})

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hello Warren,
    When a user selects a role from the dropdown a popup box should be triggered.
    How would I assign a variable for each dropdown choice to trigger the correct popup?

    Below are the choices.
    Site Admin:
    Audit Author: 

    Auditor:
    Manager: 

  • WarrenBelz Profile Picture
    156,774 Most Valuable Professional on at

    @Anonymous ,

    Just make the Variable varPopup Text with those four values. Each pop-up Visible would then be varPopup="xxxx".

    To exit set varPopup to Blank()

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

     

     

  • WarrenBelz Profile Picture
    156,774 Most Valuable Professional on at

    Hi @Anonymous ,

    Just checking if you got the result you were looking for on this thread. Happy to help further if not.

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 337 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 250

#3
Mohsin Ali Profile Picture

Mohsin Ali 225

Last 30 days Overall leaderboard