web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details
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.

Helpful resources

Quick Links

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

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!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410 Super User 2025 Season 2

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 2