Skip to main content
Community site session details

Community site session details

Session Id : UQ1kEZPIwqrZrutsNIieRk
Power Apps - Building Power Apps
Answered

Need Help Deleting SharePoint Items Through Power Apps

Like (0) ShareShare
ReportReport
Posted on 24 Feb 2024 18:46:08 by

Hello everyone,

I'm reaching out for your assistance today.

I've developed an app in Power Apps that's linked to a SharePoint list. Within my app, there's a gallery displaying all the items from that SharePoint list.

When I select a specific item in the gallery and press the right button, it navigates me to my user form in Edit mode within Power Apps. This form is also connected to the item I selected.

My challenge lies in deleting the selected item through the Remove method while I'm viewing the item (inside the user form). I'm uncertain about which property to use to identify the current item.

Although I'm aware of the option to place a delete icon directly in the gallery and use the Remove function like so: Remove(SharePointList, ThisItem), I'm looking for a solution that allows me to delete the item from within the user form while in Edit mode.

Any guidance or direction would be greatly appreciated.

 

FarmaVIP_0-1708799317346.png

 

FarmaVIP_3-1708800215330.png

 

I need help to complete this function or use another method.

FarmaVIP_4-1708800291754.png

 

 

  • Verified answer
    Ethan_009 Profile Picture
    4,838 Moderator on 24 Feb 2024 at 19:53:07
    Re: Need Help Deleting SharePoint Items Through Power Apps

    Hi @FarmaVIP ,

     

    Try the following code to complete your action

    Remove('Instituições de Solidariedade'; Galleria_Utentes_Instituições.Selected)

    After this, you might wanna go to previous screen cuz you may see blank screen.

     

    Hope this helps

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

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

Loading complete