web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : ZKylPuyuUfH6y6E7qYG+N+
Power Apps - Building Power Apps
Answered

Pop Up - Show when screen loads

Like (0) ShareShare
ReportReport
Posted on 12 Oct 2023 13:43:53 by

Hi,

 

I have an app with multiple forms that the user may need to fill in, each form is a different screen. 

 

I have a pop up, but im not sure how i can get it to show when the user clicks the gallery link.

 

Any help will be great. 

 

Thank you

Categories:
I have the same question (0)
  • AARON_C Profile Picture
    2,233 Most Valuable Professional on 12 Oct 2023 at 13:56:50
    Re: Pop Up - Show when screen loads

    Hi @PowerNovice,

     

    You can create a variable on the OnSelect property of the link: Set(varShowPopUp, true)

    The popup group set the Visible property to: varShowPopUp

    A button in the popup, set the OnSelect property to: Set(varShowPopUp, false)

     

    Please tick Accept as solution if the answer is useful.

    Thanks,

    @AARON_C 

  • RobHardy Profile Picture
    154 on 12 Oct 2023 at 13:52:32
    Re: Pop Up - Show when screen loads

    Is the "gallery link" a button, and what happens when you click it? Do you stay on the same screen, or do you Navigate to a different screen?

    The easiest way to show something when a button (or similar control) is clicked, is to set its Visible property to a variable (e.g. showPopUp), and then in the OnSelect property of the button add:

    UpdateContext({showPopUp: true}); // local variable - works only on the current screen

    or

    Set(showPopUp, true); // global variable - works across many screens

    To start with it hidden, you would set the variable to false, either in the App.OnStart property (global variable only), or the screen's OnVisible property (local variable or global variable).

  • Verified answer
    SpongYe Profile Picture
    5,585 Super User 2025 Season 2 on 12 Oct 2023 at 13:49:34
    Re: Pop Up - Show when screen loads

    Hi @PowerNovice 

     

    • One common method is to use a container control and set its visible property based on the selected item in the gallery. 

     

    UpdateContext({varShowPop:true})

     

    • Add a close button or icon inside the container and set its onselect property to 

     

    UpdateContext({varShowPop:false})

    This will hide the container when the button is clicked.

     

     

    If you have any questions or feedback, please let me know. Have a great day! 😊

    -----------------------
    PowerYsa Power Platform Enthusiast [LinkedIn] | [Youtube]

    I love to share my knowledge and learn from others. If you find my posts helpful, please give them a thumbs up 👍 or mark them as a solution ✔️. You can also check out my [@PowerYSA] for some cool solutions and insights. Feel free to connect with me on any of the platforms above. Cheers! 🍻

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 982 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 396 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 356

Last 30 days Overall leaderboard
Loading complete