Gwen Wilson
3
Writing data issues for repeating records (child records in gallery)
Writing data issues for repeating records (child records in gallery)
Hi, I'm trying to write child records to a Dataverse table. I have 4 galleries that all read (populate the gallery) and write to the same table. I'm trying to do this with 4 forall/patch statements. I got all 4 to write successfully by wrapping them in a concurrent(without concurrent, only the first forall/patch with data changes would write). This works great on the first save (all 4 galleries have edits, or even if they don't there is no data to screw up). But subsequent ones get wonky. If a change is made to any field in one of the galleries, that entire gallery will write fine. However, if no change is made to one of the galleries, then all the data for that gallery is "blanked out" in the dataverse table with the exception of the first row of the gallery.
This doesn't make logical sense to me as to why when there is data in the gallery, but no changes, the patch is erasing the bulk of the data from the dataverse. Is forall/patch just not the way to go to write repeating (child) records like this? Many thanks for any guidance! :)
1
3 comments
Public group
A community of people who are enthusiastic about and trying to learn about Microsoft's Power Apps!
Leaderboard (30-day)
powered by