What is wrong in the XLSForm filled data. Feature layer does not take the value provided to From ID field

11-11-2021 10:56 PM
New Contributor II

Hi, the feature layer does not take the value filled in the form_id field in XLSForm. Any idea why. Check below the XLSform I used and the feature layer name related to it.

As I know, the feature layer should take the name provided in form_id but this does not happen in my scenario




0 Kudos
1 Reply
New Contributor III

This happens simply because that is not the expected behaviour/purpose of that feature. The columns "form_id" is to be used in conjunction with the "submission_url" when the Survey123 survey needs to be connected not to the default Hosted Feature Layer which S123 creates automatically, but with a different Hosted Feature Layer that you may have authored previously.

Imagine that you have an existing Feature Layer and that you need your S123 survey to send the survey results to that Feature Layer. In that case, you would fill "form_id" with the name of the layer in the feature layer, and "submission_url" with the URL of the Feature Layer Item (like "https://www.arcgis.com/sharing/rest/content/items/ <itemId>".

See https://doc.arcgis.com/en/survey123/desktop/create-surveys/survey123withexistingfeatureservices.htm 

If I understand correctly your scenario (you need to take control of the name of the layer that S123 creates automatically when publishing the survey), you can simply rename the layer in ArcGIS Online.

0 Kudos