Notifications
Announcements
Hi guys,
is it possible to remove a specific record from a document library (SharePoint) in a canvas app without a flow?
Thanks.
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/UChmFBGU1YKIU91sNMQ7buGgTwitter: https://twitter.com/phipps0218
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
Hello @WarrenBelz I tried that one but it didn't remove the record from the library.
Hi @phipps0218 , ok I will look at it. Thanks.
@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)
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 739 Most Valuable Professional
Michael E. Gernaey 343 Super User 2025 Season 2
Power Platform 1919 268