While doing Power Apps training with Pragmatic Works, I usually have a common request after students learn they can delete records. Someone will usually state they like the usability of the delete function, but are scared to put a delete button on the screen. Their concern is someone will hit it by mistake and then the record will be gone forever.
There are a few ways to fix this issue. The method I showcase here will show how you can activate a pop-up screen that overlays your original screen. This method is not just useful for delete confirmations, but anytime you want to show extra information on your screen without being taken to a new screen.
To achieve our solution today we will need to meet the following objectives:
Create the pop-up screen and all of its components, then GROUP them together
Use the function UpdateContext to temporarily create a variable to hold a piece of information, which in our case will be true or false.
Place the variable for the visibility property on our pop up screen
For the OnVisible property of our screen, we will have the variable declared as false
To see all these steps in action check out this demo.