Hello,
We have a group-shared survey where users need to able to submit changes to both geometry (lines) and attributes of EXISTING FEATURES, so we need to prepopulate the survey with the feature values.
This is easy to do by using URL parameters. However, with very complex geometries the URL's length may exceed the limits of a GET request.
Here is what we are thinking on trying/we've already tried:
1.- Prepopulate the survey feature class, and then open the features in COPY mode. This approach works but was discarded because it would allow User A to have access to a survey by User B, which is something that we don't want.
2.- In Connect, use a Javascript function within the survey to fetch the geometry from the relevant feature class and feed it into the geoshape field. (similar approach to the one described at https://community.esri.com/t5/arcgis-survey123-questions/can-t-pass-attributes-of-a-line-from-collector-to/td-p/782103
My questions:
- Is my assumption correct that a very complex geometry attached as a URL parameter will cause the call to the survey to fail?
- Will approach #2 above work?
- Is there any other alternative?
Thank you in advance.