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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Delete button confirma...
Power Apps
Answered

Delete button confirmation popup issue

(0) ShareShare
ReportReport
Posted on by 22

Hello, 

 

1) I do have 3 screens, I have added the "Delete(Trash)" Icon on 3rd screen and trying to get popup confirmation before deleting

 

2) I have added Yes, No buttons, Label, rectangle and grouped together, but I'm getting issue with the "Delete" icon, as shown below 

WhatsApp Image 2020-12-02 at 5.34.02 PM.jpeg

Not sure what I'm missing here? any inputs, please 

 

 

Categories:
  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @SP545 

    Yes, you cannot select a group of controls like that.

    Here is what you need to do:

       On the trash can Icon, set the OnSelect formula to the following:

            UpdateContext({lclScreenAction:"Delete"})

     

       Now on the RectangleDeleteConfirmation control, set the Visible property to the following formula:

            lclScreenAction="Delete"

     

       And for the remaining controls in your group, set the Visible property to the following formula:

            RectangleDeleteConfirmation.Visible

     

        Finally, in the Yes and No buttons, add the following formula to your existing formulas there:

            UpdateContext({lclScreenAction:Blank()})

     

    I hope this is helpful for you.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 393 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 278 Most Valuable Professional

Last 30 days Overall leaderboard