Hello,
I am trying to publish survey that was designed based on a Feature Service that has a Relate table. Everything works fine except when I change form_id to be the name of relate table. The reason I am doing this is so all the survey responses end up in the Relate Table and not the Feature Service Layer.
However, when I publish the survey I get an error "Parent layer ID 0 not found for table...". Has anyone come across this before? What should I do to overcome this error?
Solved! Go to Solution.
You cant have the form and the repeat point to the same table. The begin repeat line is telling to add the reportsTBL and you told the form to send to reportsTBL also which of course does not make sense. I do not think you want a repeat actually. Remove the begin and end repeat lines and try that. It will then send right to the table. In order to link it to a parent table in the service (if that is what you want) you would have to take care of getting the key into the child yourself.
help files https://doc.arcgis.com/en/survey123/desktop/create-surveys/survey123withexistingfeatureservices.htm
hope that helps
You cant have the form and the repeat point to the same table. The begin repeat line is telling to add the reportsTBL and you told the form to send to reportsTBL also which of course does not make sense. I do not think you want a repeat actually. Remove the begin and end repeat lines and try that. It will then send right to the table. In order to link it to a parent table in the service (if that is what you want) you would have to take care of getting the key into the child yourself.
help files https://doc.arcgis.com/en/survey123/desktop/create-surveys/survey123withexistingfeatureservices.htm
hope that helps
That did it, thank you very much!!