AnsweredAssumed Answered

repeat_count creating unneeded records

Question asked by tom.rippetoe on Nov 2, 2017
Latest reply on Nov 9, 2017 by tom.rippetoe

I am using version 2.4.60 of S123 Connect and version 2.4.74 of S123.  A couple weeks ago I updated my existing survey by adding a value (3) to the repeat_count property of one our repeats, "Treatments".  When i published the survey, it required a delete of the hosted feature layer and creation of a new one. the one change on the hosted feature layer was addition of the field "Treatments_count".

 

Now, whenever a survey is submitted, 3 new records are created in the Treatments table, regardless of how many the user created in the survey.  For example, if the user completed 1 'treatment' in the survey, 3 records end up in the hosted feature layer - one record has a full set of values and two records have null values in all the fields without default values (except for objectid and globalid).  This is not the desired behavior (I simply wanted to limit the number of repeats that could be created) and is not what is described in the current documentation (http://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformrepeats.htm)

 

is the intended behavior to create a 'repeat_count' number of records for the repeat for each survey submission?

 

Thank you.

Outcomes