I have issues with dynamic data attachments being unreliable. I am testing with the two forms attached, Parent and Child. Parent has an ID field and a name, Child is to look up the name by the ID.
When I submit Parent forms, the data is seldom readable in the Child form. Sometimes the sync works once, so I get batch 1 Parent entries available. Then when I add more Parent entries, I usually don’t see these in Child form. Sometimes new entries can show up after 10-20 minutes. But very inconsistently. I really can’t trust this feature., which is a shame. And seems no logging available, either. Really hard to debug.
The Child form has an xml-external field with name parent, and per the documentation I’m referencing it in the calculation column. For entries that are synced to the device, it works, name shows up in Child form. So it shouldn’t be a syntax error in the form. I have activated Connected Projects as described, both on Parent and Child.
I mainly testing on Android (13, Play Service update July 2024) with KoboCollect v2024.1.3. Forms are on the EU toolbox instance. During testing, I am updating the forms manually by going into Download form. Sometimes it shows that the Child form has updates, and then I get new entries. But rarely. I experience the same unreliable behavior with these forms in Enketo.
If I delete the Child form and fetch it again, then it seems to bring the latest Parent data with it.
By the way, if I configure form update mode to Exactly match server
, the smallest delay is fifteen minutes. How does that add up with fetching dynamic data, as documentation says there is a five minute delay? 3 5-minute “batches” of Parent data synced every 15 minutes?
Grateful for any assistance on this! Reliable, consistent DDA would make my forms much better.
Child.xlsx (9.3 KB)
Parent.xlsx (9.0 KB)