How to link feature service layer in Survey123?

1448
5
05-07-2018 01:40 AM
Highlighted
New Contributor III

Hello to all,
I'd like to update my existing feaure service via Survey123 but, when I create a new survey with Survey123 Connect starting from the feature service, only the first of the service layers is received by the system. I've tried to update the form_id and the instance_name but with no result.

Can you give me some suggestions?

Thanks

Reply
0 Kudos
5 Replies
Highlighted
Esri Frequent Contributor

Hi Alfonso. This is a known limitation of Survey123 Connect.  When using Create Survey->From Feature service, Connect always creates an XLSFile looking at the first layer of your feature service.  If you would like to create a survey that loads data in other layers, you will need to create the XLS file manually.

  • submission url: the URL of your feature layer item
  • form id: the name of the layer in your feature service you want to hit
  • survey worksheet: ensure that the questions in your survey worksheet reference field names that exist in the feature layer you are hitting
Highlighted
New Contributor III

It worked perfectly, thanks.

Reply
0 Kudos
Highlighted
New Contributor III

I've seen this and other GeoNet threads on "submission url: the URL of your feature layer item"; but I have never seen the method for retrieving or creating the "layer Item " URL.

It looks like, for a hosted feature layer: https://usfs.maps.arcgis.com/home/item.html?id=0ee799a2234d4ff2942b7cd8b6d58e91

That the Survey123 (XLXs) "submission URL" is: https://www.arcgis.com/sharing/rest/content/items/0ee799a2234d4ff2942b7cd8b6d58e91

Is that the method and the correct "layer item"?

Reply
0 Kudos
Highlighted
Esri Esteemed Contributor

Hi Dudley,

You are correct.  The link is the feature layer item's link in the ArcGIS REST API: Item—ArcGIS REST API: Users, groups, and content | ArcGIS for Developers 

Reply
0 Kudos
Highlighted
New Contributor III

Thank you

Your link to REST services helps

Dudley Hartel

Science Delivery/Technology Coordinator

Forest Service

USDA Forest Service

p: 706-410-5568

c: 706-410-5568

dudley.r.hartel@usda.gov<mailto:dudley.r.hartel@usda.gov>

747 Maxine Dr

Baton Rouge, LA 70808

www.fs.fed.us<http://www.fs.fed.us>

<http://usda.gov/>[Forest Service Twitter]<https://twitter.com/forestservice>[USDA Facebook]<https://www.facebook.com/pages/US-Forest-Service/1431984283714112>

Caring for the land and serving people

Reply
0 Kudos