Select to view content in your preferred language

Map viewer unable to load data from survey

1325
4
Jump to solution
01-23-2023 11:06 AM
PanjiBrotoisworo2
New Contributor III

Hi everyone,

I'm having issues trying to create a webmap from the feature layers generated by Survey123. They can be seen in the Survey123 site but when I try to make a new Web Map the data cannot be loaded. I've set all the data to be public and it still cannot access the data. I've created numerous Surveys and web maps to try and troubleshoot it but it's either showing a generic error which says "There was an error" when trying to add the feature layer or it can add the layer but the points do not show up at all on the web map.

Is this something that I can fix on my end?

 

Here are IDs for a sample of a feature layer and its associated webmap.

Webmap: fde5fd700b4e4fb896ac2c12ed47b90a

Survey123 Feature Layer: f7d2d75115b2412394973383b1dd67de

 

Meanwhile, I have a Survey123 feature layer that can work for some reason. It was a test survey containing only 2 or 3 questions.

Webmap: 243e38aa5f2742cb9ad741945340f5f5

Survey123 Feature Layer: b4ce6ddef6b844a7b7f49083090161ac

Below is a screenshot of the data in Survey123 which can be seen on the Survey123 app.

PanjiBrotoisworo2_0-1674500738078.png

Thanks for any help.

EDIT: added a sample of a survey feature layer that is also working properly vs one that is not.

0 Kudos
1 Solution

Accepted Solutions
RussRoberts
Esri Notable Contributor

Looks like a known issue under survey123. You can try making a change to the editor settings on the layer.

https://support.esri.com/en/technical-article/000028133

View solution in original post

0 Kudos
4 Replies
RussRoberts
Esri Notable Contributor

Your layer doesn't have query capability enabled. Without that the viewer cannot query the layer to know what features can be drawn. Under the dev console I saw this error:

"layer view requires a layer with query capability" "featurelayerview:query-not-supported"

 

This was probably setup this way so users couldn't see other records/surveys that were added.

0 Kudos
PanjiBrotoisworo2
New Contributor III

Thank you so much for the quick answer @RussRoberts . Can I ask how I can change this setting? I'm trying to compare settings with the working feature layer and the non working feature layer but I cannot find that query setting. Not sure if this follow up question is more appropriate for ArcGIS Online or Survey123.

0 Kudos
RussRoberts
Esri Notable Contributor

Looks like a known issue under survey123. You can try making a change to the editor settings on the layer.

https://support.esri.com/en/technical-article/000028133

0 Kudos
PanjiBrotoisworo2
New Contributor III

Thanks! That did the trick and I can load the layers now.

0 Kudos