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 warning screen ...
Power Apps
Answered

delete warning screen for deleting items in a list

(0) ShareShare
ReportReport
Posted on by 363

I know that I can select an item from a gallery go to the forms display screen and create a delete button to remove ThisItem. What if I want the warning to appear at the gallery level. Have a  trash can icon click it then have a window come up for that one record?

colbyturybury_0-1630012111046.png

colbyturybury_1-1630012121936.png

 

Categories:
  • TheRobRush Profile Picture
    11,128 Moderator on at

    just have your trash button set a visibility variable for the real button. then when you click trash it will make that button appear within the gallery and you can click it to go through with the deletion. Keep in mind you will also want to select the item and put in the visibility if the variable is XX and this item is selected then visible. Otherwise you will press the button and the go forward button will pop up on every item in the gallery

  • colbyturybury Profile Picture
    363 on at

    Sorry I am having a hard time following you. What do you mean by put in the visibility?

  • Verified answer
    TheRobRush Profile Picture
    11,128 Moderator on at

    your controls (the warning button) will have a visible property. In there instead of the basic true, you would put something like 

    If(And(ThisItem.IsSelected,customvisibilityVar=true),true,false)

    then on the regular trash icon you just put in the onselect something like

    Select(Parent);
    Set(customvisibilityVar,true)

    also don't forget when you press you confirm deletion button to also reset your custom variable for the visibility to false so that the confirm deletion button will disappear

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 432 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 347

#3
WarrenBelz Profile Picture

WarrenBelz 254 Most Valuable Professional

Last 30 days Overall leaderboard