Announcements
Hi
Is there a function I can use to remove a record from my app but not my data source after i hit the submit button ?
RemoveIF should be able to do it.
No, RemoveIF removes record from the datasource. I want it removed from my app only
Can you turn the datasource into a collection then remove it from the collection? If not, I guess you could just filter it out but that seems like a lot of work.
@Cesc
What is the context of "remove a record from my app"? Your app is connected to a datasource and unless you have made a snapshot variable of the datasource and are working from that, the record exists in your app as long as it does in the datasource.
So, what exactly is it that you want it to be removed from?? A Gallery? A List? etc?
Sorry, i missed that little piece of info. I want it removed from a gallery
I want the record removed from a gallery in my app, i think this makes it clear now
So then just filter it out.
In your OnSuccess action of your form (assuming you are using a form), simply add : Collect(remCol, Self.LastSubmit.ID)
Then in your Gallery Items property:
With({_items: <yourExistingItemsPropertyFormulaHere> }, Filter(_items, !(ID in remCol,Value)) )
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 432 Super User 2026 Season 2
Mohsin Ali 347
WarrenBelz 254 Most Valuable Professional