Skip to main content

How to create a "pop-up box" in PowerApps

in this post, let us see how to create a Pop-Up in Canvas App

required controls:
  • rectangular icon
  • label
  • buttons - 2
  1. take a "rectangular icon" and make it screen size
  2. update it's "Fill" - with RGBA(175, 191, 224, 0.5).
  3. Take another "rectangular icon" and adjust it to center
  4. Take "label" - and add required text (Eg: "do you want to proceed?")
  5. Take two buttons. Update text of Button1 to "OK" and other to "Cancel"
On Click of the respective control (to open the pop-up), add this expression : UpdateContext({locOpenPopup:true})
select "cancel" and "ok" button and add UpdateContext({locOpenPopup:false}) on "OnSelect" property.
add appropriate actions on "cancel" and "ok" buttons as per the requirement along with UpdateContext({locOpenPopup:false})

select the controls added above (five controls) and go to their visible property, add - locOpenPopup



Comments