Hello,
I can't retrieve my repeat records from submitted surveys using the Inbox. I'm a little confused where I put the allowUpdates=true but I've tried adding it at the begin repeat (xlsFormType) in the bind::esri:parameters field and the Inbox settings using Connect; specifically the query expression. I found this help write-up to be a bit confusing for the Repeat section.
http://doc.arcgis.com/en/survey123/desktop/create-surveys/prepareforediting.htm
Clarification on what to do would be great! Thanks, Ryan
xls form attached
Hi @GeomaticsPublisher,
It appears you are missing the "query" parameter in the bind::esri:parameters column. Without the "query" parameter the data in the related table is not queried and returned.
Please refer to: https://doc.arcgis.com/en/survey123/desktop/create-surveys/prepareforediting.htm#ESRI_SECTION1_80CFFC9C38654DC293D4F36C5376C62E
Regards,
Phil.
Hi Ryan,
I just played around with the xls and as Philip mentioned the allowUpdates=true doesn't have to be on all of them just on begin and end. Can you try testing with this xls? When adding 'query' in bind parameters the inbox holds the repeat answers.
Let me know if this works.
Hi,
I'm experiencing the same issues with allowUpdates=true on our form with repeats. I submit a form then go to the Inbox on my IPAD to make an edit to the submitted form and none of the details in the repeats are being pulled back to the form (they have originally been correctly saved to the related tables in the features service).
I have allowUpdates=true in column X (bind::esriparamaters) on the begin repeat and end repeat lines as per the discussion above (this is now column X in the latest forms) but this does not appear to work??? any help much appreciated
Hi @Anonymous User ,We have query allowUpdates=true on our form repeats (under bind::esri:parameters) but the repeat data are not showing when accessed via the Inbox. The forms were created in Connect, and are being opened via Survey123 v3.12.277 on both Windows x64 desktop, and on an android phone. This worked previously. Any ideas?Thanks,Rob
Thanks for the clarification. I'm testing on iOS v3.5.164 (8 plus) and publishing the feature service to AGO using Connect v 3.5.157. I created a new survey just now and I'm still not able to retrieve the repeat records. I JUST have allowUpdates=true in the bind::esri:parameters column. What gives? Luba Hristova, I did try and populating all the repeat fields with allowUpdates=true and still didn't work Survey attached. Thanks!
Hi Ryan and Luba,
You only need to put the query and allowUpdates=true clause on the begin repeat question type in the bind::esri:parameters column. You do not need to put this on every question inside the repeat.
Also, for the Inbox settings in Connect, you only need to specify a where clause query if you only want to query a subset of the features in the layer. If you want all records, leave the where clause query blank, and just simply enable the Inbox.
This should be working as expected in the recent 3.5, if you are using 3.3 or an older version, this could be the problem. Also if you are still having issues, please provide a copy of your xlsx form survey, and also let us know if you are using AGO or Portal (what version) and what device/make/model/OS version you are using?
I think I have seen this issue before. What version of Survey123 are you working with? There was a bug addressing this that was fixed in 3.2: BUG-000117987: Calculation fields fails to retain submitted values in Inbox if the fields are part of 'Repeats' which was fixed in 3.2
Can you apply these changes the excel and keep me updated if it works?
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.