Announcements
Hie,
I am trying to figure out a way to delete a record from a dataverse table. My app is setup as follows: I select a user from a gallery which takes me to another page where the info about the user is displayed on a form. However, I am having trouble figuring out how to setup the Onselect properties for the delete icon or finding any functions that can delete rows from the table. Also, I need this record saved to an archive table.
@Anonymous
In the OnSelect property of the icon inside the gallery:
Collect(Archivetable, ThisItem): Remove(dataversetable, ThisItem)
From a button on the form chosen from say Gallery1:
Collect(Archivetable, Gallery1.Selected); Remove(dataversetable, Gallery1.Selected)
Thank you, is there anyway I can do this on another screen?
Using the second formula, you can place such a button anywhere in the app and it will remove the record selected in the gallery.
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 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 551
WarrenBelz 430 Most Valuable Professional
Valantis 298