Hi all,
I have various forms through-out my app and they are connected to a gallery. When I submit the forms most of them push the data through except for 2 and I cannot for the life of me figure out why only these two won't send the data through to the dataverse table. How do I figure this out??
@carrie-anne27 - only comment here is that I would avoid chaining the SubmitForm operation for the same data source as this can lead to inconsistent results (with Dataverse at least).
Along with the solution you have accepted, you can alternatively Patch the specific DataCards in those problem Forms:
Patch(
'Your Table',
'Your Record'
),
Form2.Updates,
Form3.Updates,
Form4.Updates,
{
'Field1': DataCard1.Update,
'Field2': DataCard2.Update
}
)
This seems to be a similar issue, which may help... https://powerusers.microsoft.com/t5/Building-Power-Apps/Submit-multiple-forms-to-the-same-datasource/td-p/1422531
hmmm.. I checked and all my forms are different, there is no double up. It is only Form 5 & Form 6 but when I submit them without the other forms they work... so I assume there has to be something in another form that is stopping just those two? I am not sure how to find out
Responding as you tagged me. One possibility is that you are changing something on a Form which is also updated on a subsequent Form, which means the second form does not contain the current version of that field and the Update may fail.
I tried that but it doesn't actually tell me what is wrong of why its not submitting. I have realised that it will push the information through on the second time that I select submit.
On select of the button is
Are the forms heavily customised / adapted or are they just as they were upon creation?
If they are heavily customised, one of the things that can cause issues is if the datacard field names do not match the logical (internal) name for the Dataverse column.
Actually for starters, run a monitor session while you carrout these actions and you may be able to trace the issue. Open this up under teh app checker in power apps studio
WarrenBelz
146,745
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,091
Most Valuable Professional