AnsweredAssumed Answered

Passing parameters to a Survey123 where the field is in a group

Question asked by spphillips on May 24, 2019
Latest reply on May 30, 2019 by JTedrick-esristaff

I am looking to pass parameters from Workforce, and the project's web map, I've hit an issue when trying to set a field which is contained within a group.

 

If I have the following schema in my form 

 

typenamelabel
textsitenameSite Name
textnameFull Name

 

If I launch the survey and pass in the default values for these fields using the following url

https://survey123.arcgis.com/share/{GUID HERE}?field:sitename=SITE123&field:name=MYNAME

 

The Survey get populated with both the values I passed in.

 

If I then modify the survey definition and add a grouping

 

typenamelabel
textsitenameSite Name
begin groupperson
textnameFull Name
end group

 

Using the the same url only the sitename field is now populated. I wasn't expecting name field to populate, however I should be able to access it by modifying it's path e.g. person/name or person.name etc. I have tried all sorts of separators e.g. _, __, . and %2F and am not really getting anywhere. 

 

Can anyone shed any light on how to access nested fields, or point me to the documentation? 

 

Thanks

 

Si

 

References

Outcomes