I have an enterprise geodatabase table that I published to my organizations portal as a feature service. From that feature service I created a survey in Survey123 Connect. Due to our license we only have a limited number of user types that are creators and a surplus of viewers. So the users who would be using my survey would be viewers. Because of that I thought i could share the feature service and the survey as public and then anyone on our network would be able to submit to it (even without an account). However users without an account cannot submit and also users with a viewer account.
When submitting on no account I get a 500 error and when submitting on a viewer account i get an error message stating i do not have edit privileges.
Is there anyway to make my survey public and submissions open to anyone from the feature service? Or maybe there is another way I can go about this?
Solved! Go to Solution.
Ultimately I found that my error was how the feature service was being shared. I hadn't allowed it to make geometry updates and I had the editors only being allowed to make updates only. My mistake.
That should work if you've shared the feature service and the survey to everyone. Something to check is whether the portal items for both the feature layer and the map image layer created from publishing the service are shared to everyone - with feature access being a capability of a map service, it is necessary to share both portal items.
Hope this helps!
Edit: While I've seen issues with this in the past, I have verified that having different permissions on the map image layer and the feature layer shouldn't be an issue in this instance.
Hey thanks for responding, I've set everything to public in the portal, do you mean when publishing from ArcPro there is something I have to set to public from there? Here is how i have it shared in the portal:
Thanks for your help!
So I probably didn't make it clear that the feature layer I'm using is not hosted. But still I share it as public and when submitting a survey anonymously I get this error:
Thanks for the updates Kristin. The sharing all looks good there.
What happens if you open the rest endpoint for the feature service in a private/incognito tab without signing in? Can you access it and see the editing operations like Apply Edits, Add Features etc.?
Well that all looks pretty good...
Going back to what happens on submission, could you please run the developer tools in your browser while submitting so that you can capture network and console entries? If you don't want to go through the trouble of sanitizing them to post here then you can PM them to me if you like.