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 / Removes records from a...
Power Apps
Answered

Removes records from a document library without flow (power automate)

(0) ShareShare
ReportReport
Posted on by 517

Hi guys,

is it possible to remove a specific record from a document library (SharePoint) in a canvas app without a flow?

Thanks.

Categories:
  • MVP-Phipps Profile Picture
    3,521 Super User 2024 Season 1 on at

    Remove or RemoveIf.

     

    Please Accept as Solution if it solves your question. Or just give it a Thumbs Up if it is helpful as can help others.

    LinkedIn: https://www.linkedin.com/in/charlie-phipps-%F0%9F%91%A8%E2%80%8D%F0%9F%92%BB-91338715b/
    YouTube: https://www.youtube.com/channel/UChmFBGU1YKIU91sNMQ7buGg
    Twitter: https://twitter.com/phipps0218

  • Verified answer
    WarrenBelz Profile Picture
    156,732 Most Valuable Professional on at

    Hi @dkayt ,

    Several ways, but the easiest is to link the Document Library (I assume you have done that) and display the records in a Gallery. Put an icon in the gallery (the trash one is good) and OnSelect

    RemoveIf(
     LibraryName,
     ID = ThisItem.ID
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

  • dkayt Profile Picture
    517 on at

    Hello @WarrenBelz I tried that one but it didn't remove the record from the library.

  • dkayt Profile Picture
    517 on at

    Hi @phipps0218 , ok I will look at it. Thanks.

  • WarrenBelz Profile Picture
    156,732 Most Valuable Professional on at

    @dkayt ,

    I can assure you it does - I have used it on several of my Libraries for some time. The Items of the gallery just need to be based on the Library (filtered or not)

  • dkayt Profile Picture
    517 on at

    Morning @WarrenBelz , you was right. I was facing an issue. Some incompatible types for comparison (Text vs Number)

    I correct that. Now it works perfectly. Many thanks.

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 354 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 330

#3
Mohsin Ali Profile Picture

Mohsin Ali 232

Last 30 days Overall leaderboard