Skip to main content
Community site session details

Community site session details

Session Id : ISFbRuiyYJroNVOORd9H2v
Power Apps - Building Power Apps
Answered

Delete icon within gallery to delete entries; sharepoint

Like (0) ShareShare
ReportReport
Posted on 27 Apr 2020 14:41:31 by 205

Hi there, 

 

I am attempting to add a delete button to each of my gallery entries to delete each individually if I wish to do so. 

Does anyone know how I can code this?  

 

Also, from the picture I would like the buttons in the gallery to be visible on select of an icon outside the gallery. 

e.g. trash icon outside gallery selected makes trash icon for deleting inside gallery visible

 

Can anyone help? 

 

thanks

 

Categories:
  • Verified answer
    eka24 Profile Picture
    20,921 on 27 Apr 2020 at 15:01:20
    Re: Delete icon within gallery to delete entries; sharepoint

    On the Delete put this formula on OnSelelect:
     Remove(Datasource,LookUp(Datasource,ID=ThisItem.ID))

     

    On making the icon visible put this formula on the icon outside the Gallery
        Set(HideIcon,true)

     

    Onvisible of the Screen, put:

        Set(HideIcon,false)

     

    Then select the Icon Inside the Gallery and put on the Visible:

         HideIcon

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 1