How to link feature service layer in Survey123?

4304
7
05-07-2018 01:40 AM
AlfonsoDodero
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

0 Kudos
7 Replies
IsmaelChivite
Esri Notable 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
AlfonsoDodero
New Contributor III

It worked perfectly, thanks.

0 Kudos
NUVIAVILLAMIZAR
New Contributor

THANKS!

Ismael, you make my day!

0 Kudos
ILoveMap
New Contributor III

Hi Ismael,

Is this still the case that you need to manually create a XLS file that loads data in other layers of a feature service? Have there been improvements to this process?

 

0 Kudos
Dudley_R_Hartel
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"?

0 Kudos
JamesTedrick
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 

0 Kudos
Dudley_R_Hartel
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

0 Kudos