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 / Delete Data in the App...
Power Apps
Unanswered

Delete Data in the App but not in the SharePoint Database?

(0) ShareShare
ReportReport
Posted on by 2

Hello!

 

I built an App to create a list about what new products are being sold in a company. 

Is it possible to program the App to automatically delete the old list entries in the interface but to keep them in the original Sharepoint Database?

 

 

Categories:
  • Pstork1 Profile Picture
    69,661 Most Valuable Professional on at

    Unless you are using a collection in the app instead of attaching directly to the data source, there are no list entries in the app other than the ones in SharePoint.  The items in the gallery are just cached versions.  You can remove those simply by resetting the gallery.  If you are using a collection you can remove those using Clear() or ClearCollect()

  • zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    You'll have to categorize items in some way and then apply the filter on it if they are in the same list. Let's say you have 100 items in the list and 50 are old 50 are new. Then you'll need a column that specifies which one is old and which one is new. Then you can filter out the old ones in the app.

  • C-Papa Profile Picture
    1,836 on at

    You can use collections to do this, store the data in a local collection and add / remove what ever you want from the collection. the data will remain in SharePoint. 

     

    You could also simply add a column to the SharePoint list, say a number column, where 0 = show in the app and 1 = don't show in the app. You could then add a filter to you gallery / collection to only show the data you want. 

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

#2
Mohsin Ali Profile Picture

Mohsin Ali 329

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard