Description of the survey:
Description of the problem:
Update: Esri support was able to identify the issue.
BUG-000152027: When adding a value in a repeat question without clicking the Done or Checkmark icon button on an iOS or Android device, the ArcGIS Survey123 field app does not return the calculated data.Workaround for now is:
I would bet it is repeat count. It has burned me so many times on this. Esp drafts and copy. It is something with the way it loads repeats when there is a repeat count. It does all at once vs growing. Most of these issues are when there is a formula in repeat count - which you have, your formula is almost identical to the one that got me really. I think something happens like it evaluates repeat count before snow_present so it briefly goes back to 1 then evals to 10 and adds the repeats back or vise versa.
Few things to try. Have a field that calcs repeat count and set it to once() or maybe the new calculation mode set to manual. Basically try to get the repeat count to not recalc all the time. This can be tricky.
Other option, which is what I do now, is to take out repeat count totally. Then instead just count up yourself and then set a constraint on that number. You will have the case where the user can add past 10 and get to 11 but they can't save. I added a red warning note like Opps went to far delete this record. Not perfect but it has been way, way more solid. I have a write up posted somewhere on this if you need more to gone on.
In the end I took repeat count out anywhere it would be a formula. Just not stable. Spent many hours on it and with the 123 team and this was the best choice.
Hope that helps
Hi Doug,
Thank you for taking the time to share your knowledge on the matter. Unfortunately, even after removing my repeat_count clause entirely, the disappearance of repeat section values still persists.
And you tried a test from the beginning and not opening up old ones?
Do you have this setting on the begin repeat line?
query allowUpdates=true in the column bind::esri:parameters
Yes, I was testing with new surveys. I didn't have that setting but I've added it now and it has not fixed the issue.
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.