Hello Esri users,
I have a problem when publishing a Survey123 form in our Enterprise environment version 11.2.
When publishing, I get the message that the Parent layer ID is not found for the table. However, this has been working for several weeks but now, unfortunately, no longer.
We have already contacted ESRI Support NL but are not coming up with a concrete solution here either.
The layer on which I want to create the form contains several feature layers and a number of tables with several relationships between them.
We have a layer (Duct_layer) to which we want to add related documents to a table using a repeat in the form. We collect all these documents in a table. This table has multiple relationships within our database and acts as a collection for all documents. This table has about 7 relationship classes.
As soon as I want to publish the Survey123 form, it says the Parent layer ID 10 is not found for table DocumentTable. However, it is the case that the defined layer does not have ID 10 but 11(see image)
The table has ID 24(see image).
No matter how complex or simple the form is, I get the same message every time
Please let me know if anyone has any idea what might be causing this.
One good way to troubleshoot is point Connect to the service and let it build a form. Then compare that to yours.
Do you mean I should attach a geo object to the form? Because when I do this I get the same message
Do this
Thanks for the reply!
When I do it that way, Survey123 refers to the wrong layer and the wrong related table. I then change it to the correct layer.
The strange thing is, as I mentioned in the text above, that I had successfully published the survey before. I had to make some changes to it later, but now it doesn't work at all.
Someone else was having a similar problem in AGOL. They had multiple parent tables relating to the same child tables and were getting the same error when trying to publish surveys. I was able to replicate the error when I tried to publish more than 1 survey using a feature service with multiple parents to children layers. I could publish 1 survey fine, but any more than 1 and it broke. Do you have surveys published using that database already?
Yes I have had the Survey published before. Then it was also working just fine, I had received some feedback from my colleagues and I wanted to adjust this in the form. When I wanted to publish this I got the error message. After that notification, I thought there was a bug in the form and then deleted it. But this didn't solve anything.
The feature data set consists of about 17 feature layers and 21 tables containing about 49 relations, 6 of which are relations to the layer that contains the documents.
Well that makes it a lot harder. I do have some that big but they stay static. Did maybe someone else republish or change something? Maybe turned on attachements? Seems like it was renumbered since you last published the form. Not really sure how to get around that.
One more idea is close Connect, rename your .iteminfo file in My Survey Designs and see what it says then. I do not see the numbers in there but maybe that will rebuild the links.
Here's a little update on how we finally solved the problem. We have made a reference late of the relevant feature layers so that all these layers are visible in the Survey form.
However, we did ask ESRI if they could report this as a BUG, as it did work just fine before and this probably has to do with publishing the data in combination with a newer ArcGIS Pro version.
Thanks for your feedback!