Select to view content in your preferred language

Submitting a Record to a Child Layer with Multiple Parents

131
1
4 weeks ago
ThomasBucher
Occasional Contributor

Hello,

I am trying to create a survey form that will allow a user to create a work assignment that relates to an incoming request. I have a Feature Service that contains a layer for incoming requests, inspection results, logged deficiencies, and work assignments. The work assignments layer is related as a child to both the requests layer and the deficiencies layer. The assignment layer has 2 GUID fields that relate to the GlobalID of the request layer and the deficiency layer, respectively.

As recently as just a few months ago, I was able to create forms that would allow users to review a deficiency and create work assignments from it, and forms that would allow users to review requests and create work assignments from them. This was accomplished by creating subsetted views that only contained one of the parent layers, and using these views as the submission url.

I am now trying to repeat this process with a new Feature Service set up in a similar manner, however even when using a view with only one parent layer, Survey123 Connect is not allowing me to publish as the irrelevant parent layer is "not found".

Does anybody know of a potential work around? Or if this issue is planned to be addressed anytime soon? I'm also not opposed to reverting to a previous version of Connect if it has the potential to solve this problem.

 

0 Kudos
1 Reply
DougBrowning
MVP Esteemed Contributor

May be too late now that you are all up and running but what I do is have a second set of relates that I mange the keys for myself.  Then the form is just the child and you get the key in via a launch URL.

I got a write up here.  https://community.esri.com/t5/arcgis-survey123-questions/mapping-with-survey123-within-a-polygon-or-...

I have 15 forms all related to a single parent in mine.  Relates can use any key does not need to be globalid - in fact globlalids are a poor choice as they break easily.

hope that maybe helps

0 Kudos