In this Blog we will see how to show delete or info dialogue box in canvas app.
To create a Delete Confirmation Dialog in a PowerApps Canvas App, I’ll guide you through the process step-by-step. The goal is to display a confirmation dialog when a user attempts to delete an item, and perform the delete action only if the user confirms.
Firstly you need to create a grid like the below screen.
Note: you can change cancel symbol with any other symbols like Bin etc based on your requirement.
First insert cancel icon in gallery grid , Next add a container on your screen like the below screen.
Next change the properties of that container like X and color of the container based on your requirement.
X: (Parent.Width-Self.Width)/2
Fill: RGBA(214, 221, 224, 1)
Visible: Varshowdelete
Next add a lable inside the lable and change the properties of the lable.
X: 0
Y: 0
Text: “Are you Confirm to delete?”
width: Parent.Width
Fill: RGBA(122, 138, 143, 1)
Next add two buttons one is for yes and another one is for No.
In yes Onselect: Remove(‘Student Registration’,Gallery1.Selected);
Change the button Colors based on your requirement.
For any Help or Queries Contact us on info@crmonce.com or +91 9493926112.
https://www.crmonce.com/power-automate-upload-the-photo-in-to-the-document/