Failure to submit records to public survey when image attached

777
2
02-07-2018 06:43 AM
ColinCampbell
Occasional Contributor

Hi,

I have a survey intended for use by the general public that, amongst other things, allows images to be taken/attached.  The public users access the survey directly in the Survey123 app by clicking on a link sent to them (i.e. they don't log in to ArcGIS Online with an account username and password).  Due to the nature of the survey I have modified the settings on the survey's Feature Service to that shown below - I want anyone to be able to add data to the survey but for no one outside my organisation's administrators to have access to it once submitted.

Everything works fine until records are submitted with an image attached.  This gives a code 400 error and says the record has not been submitted (although I think the non-image bit of the record actually has).  If a record is submitted without an image it goes through fine. 

If I log into my ArcGIS Online account and submit a record with an attached image the record is submitted without error (although I can't seem to preview any of the data from the survey when I log into the Survey123 website and look on the 'Data' tab for that survey).

Is this a bug or something I'm doing wrong with the permissions?  I've tested this on both an Android tablet and an iPhone and I get the same issue.

Many thanks in advance.

0 Kudos
2 Replies
BrandonArmstrong
Esri Regular Contributor

Hi Colin,

You are encountering an issue that we are aware of, and are looking to resolve.  The behavior that you are encountering is documented in the following bug logged by technical support....

BUG-000108408: When "Only add new features" is the editing privileg.. 

I would also take a look at the following GeoNet forum which involves discussion related to this behavior...

Cannot attach images in Public Survey 

As mentioned by Ismael,  at this time, "a workaround consists on enabling ADD and UPDATE permissions in the feature layer."

Brandon

ColinCampbell
Occasional Contributor

Hi Brandon,

Thanks for this. I’m not sure how I managed to miss the original post/thread, but it’s very helpful.

Unfortunately I’m in the same boat as a couple of folk on there. I’m not able to use the ‘add and update’ option because it would allow querying by anonymous users of data we don’t want them to see.

Thanks again for your reply.

0 Kudos