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.
Hi Kristin
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!
Craig
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.?
Is this what you mean (openend in an incognito window):
There's nothing showing under layers or tables - can you navigate to any of the layer IDs? i.e. add /0 or /1 etc. to the FeatureServer URL?
My apologies I do have something under "Tables" but I mistakenly cropped it out, I can also open it in incognito:
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.
Hey sorry went to bed, I'm sorry what developer tools are you referring to? I may be a bit green in this area. Do you have a link?