web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

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:
I have the same question (0)
  • MVP-Phipps Profile Picture
    3,508 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
    153,084 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
    153,084 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard