Select to view content in your preferred language

Nested Repeat Issue

181
4
02-04-2025 09:55 AM
RHammers
Occasional Contributor

I have a published survey that already has 2 repeats in it, and I would like to place one within the other. I was able to do so and publish, but when I attempt to submit a completed survey, I get an error:

RHammers_0-1738691698513.png

I suspect this means I need to somehow specify the relationship between the tables? If so, how do I do that?

0 Kudos
4 Replies
abureaux
MVP Frequent Contributor

Honestly, not seen that error before.

After republishing, did you download the new update in the Field App? Failing that, I'd delete the survey from the Field App and re-download. Assuming you republished without issue, there shouldn't be this issue.

Changing repeats like that would have made Connect recreate the Feature Layer (adding repeats/related tables/changing data types does that).

0 Kudos
RHammers
Occasional Contributor

I've updated the survey, yes.

Yes normally it would inform me that all previously collected data will be lost because it will have to create a new feature layer, but not this time. 

0 Kudos
abureaux
MVP Frequent Contributor

That... is really odd. Is this survey based on a different layer? That is the only way that would make any sense. To check this, open the XLSX and go to the "settings" tab. Is there anything in the "submission_url" column?

0 Kudos
RyanUthoff
MVP Regular Contributor

While the survey indicates that there isn't a relationship, Survey123 should be specifying and managing the relationship for you. But for some reason, it doesn't seem to be doing that.

We've experienced a lot of issues with republishing more "complicated" surveys (surveys with repeats, etc.) when adding additional repeats or changing the schema, and it just results in us having to create a brand new survey.

Since Esri manages the tables/relationship on the backend, I suspect you might need to create a new survey in order for it to work.

0 Kudos