Select to view content in your preferred language

Error creating Survey123 form from multilayer hosted view feature service when target layer is not first

76
1
Wednesday
Labels (3)
AbinayaAS
Esri Contributor

I’m trying to create a Survey123 form using the ArcGIS Python API(version 2.4) from a hosted feature service view from AGOL that has multiple layers.

The service view layers are A, B, C. My XLSForm schema corresponds to A, and form_id = A. It works when A is the first layer in the service, but fails if A is the second or third layer, showing:

AbinayaAS_0-1759329781864.png

I expect Survey123 to allow any layer in the service as the form’s target, not just the first.

Has anyone encountered this? Is there a workaround to use a non-first layer for form submission?

0 Kudos
1 Reply
Clubdebambos
MVP Regular Contributor

Hi @AbinayaAS,

Are you able to post your code so we can take a look?

All the best,

Glen

~ learn.finaldraftmapping.com
0 Kudos