Announcements
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?
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()
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.
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 382 Super User 2026 Season 2
Mohsin Ali 329
WarrenBelz 187 Most Valuable Professional