I created a survey using Survey123 Connect, published it, tested it and all was good.
I then followed the instructions in this blog post regarding Securing Data in Public Surveys (https://community.esri.com/t5/arcgis-survey123-blog/securing-data-in-public-surveys-survey123-connec...). (author @IsmaelChivite )
I published the hosted feature layer views as instructed. I went back to Survey123 Connect to get the submission_url and form_id values for the new public view and transposed them into the XLSForm for the original survey. Published the survey and tested it.
If I am logged in to my AGOL account, I can submit records, however if I try to use the survey as an anonymous public user, an error is returned upon attempting to send the survey response. There is no error code in the popup that appears.
I'm not sure what the next troubleshooting steps would be on this, and there isn't much else online on this topic.
Survey123 connect version 3.17.54 on Windows 10
Survey123 Field App 3.17.66 on iOS 16.3.1
Screenshots showing error in Survey123 Field app:
Collaborate/Share survey screen in Survey123 website:
Collaborate/Share results screenshot in Survey123 website:
AGOL folder with items showing sharing levels:
AGOL Settings on the Public feature service view:
Screenshot of settings for the source hosted feature layer:
I attached my XLSForm and also a log file from the field app that was running when an error was generated
Thanks for reading. I'd appreciate any insight,
The logs say:
"Can not edit layer '0'.",
"Unable to add the features.",
"This operation is not supported.",
"Unable to apply edits."
I found the public layer. I can't add points against it in a Web Map. Suggests 'adds' are actually not enabled for this layer.
It seems like you have 100% enabled adds via the UI. Can you go to the REST Admin endpoint of the layer and see if there are layer overrides enabled?
"supportsLayerOverrides" : true,
"layerOverrides" : [ "allowGeometryUpdates", "capabilities" ]
I've seen this in play before, when editing has been disabled, but layers still editable.
Or maybe something else is at play - but we don't seem to be able to edit this layer....
Hello, thanks for taking the time to look through my post.
I have accessed the JSON and the "supportsLayerOverrides" parameter is "true". I'm not sure if you were indicating whether it should be true or not.
This must be the section you are talking about?
I notice it says only "query".