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 / Dialogue PopUp Compone...
Power Apps
Answered

Dialogue PopUp Component responding to Header Component Button

(0) ShareShare
ReportReport
Posted on by 278

On all pages our tablet app has a component that is a header header across the top,  with a Community button in it.

Header Buttons.PNG

 

 

 

 

The Community pop up is a component as well that looks like this, with a Close button on it.

Generic PopUp.PNG

 

 

 

 

 

 

 

 

 

I tried using Global Variables and Booleans to control opening & closing but I couldn't get it to work.

Categories:
  • Joel CustomerEffective Profile Picture
    3,224 on at

    Set the visible property of your pop up to var_PopUp

    OnSelect property of community button Set(var_PopUp, true)

     

    On select of the buttons on the pop up Set(var_PopUp, false)

     

    This will make the pop up shown when clicking the community button and hide when clicking one of the buttons on the pop up

     

    @Humanity if this answers your question please mark it a solution

  • Humanity Profile Picture
    278 on at

    @jlindstrom  Thank you.  However when I do this the pop up disappears permanently & never comes back.  I've tried a variation of this earlier too with the same result.  I'm getting the impression global variables do not work with components?

     

    Close Eg.PNGCommunity Eg.PNGPopUp eg.PNG

  • v-yutliu-msft Profile Picture
    Microsoft Employee on at

    Hi @Humanity ,

    Do you want to change a component's visible based on another component and change a component's visible based on a button inside itself?

    Actually, I do not think this will work.

    The key point is that component does not support custom property.

    So if you click one button in component1, you could not create a variable that could be used in component2.

    The variable that is created by component1 could only be used inside component1.

     

    Here are two alternative solutions for your issue:
    1)do not put the close and open icon in components

    Outside component, you could make them to set the same variable.

    2)put close and open icon in the same component

    Inside the same component, you could make them to set the same variable.

     

     

     

    Best regards,

  • Verified answer
    Sacred_Totems Profile Picture
    175 on at

    @v-yutliu-msft 

     

    Here is a Youtube with instructions and downloadable templates for it.

     

    https://youtu.be/Ui51JSjRYW4

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 234 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
timl Profile Picture

timl 122 Super User 2026 Season 2

Last 30 days Overall leaderboard