<img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=931099456970389&amp;ev=PageView&amp;noscript=1">
bg-img11.jpg

Deleting Is Scary

Matt Peterson
By Matt Peterson - December 21 2020

deleting records in powerbi

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.

bg-img14.jpg

Join Our Blog

Join other Azure, Power Platform and SQL Server pros by subscribing to our blog.

Leave a comment

Posts by Topic

see all

Recent Articles

Popular Articles