I have tried following the steps to log errors to a console but when I click on Diagnostics in Survey123 connect setting window, it just spins forever "Searching for AppStudio consoles"...
Hi Heather,
If you tap/click on one of the failed submission, do you get a specific error message?
If you simple click the switch in diagnostics, it will start recording information to a text file- doing that with the Survey13 app will provide information on what has failed.
Nothing happens when I tap/click on one of the failed submissions. I switched diagnostics to on but am not sure how to retrieve the log file from the iPad?
Hi Heather, to remove the log files (as well as migrate the surveys to a PC to attempt to resolve submission issues if they are device specific), please follow the 'recover data from a mobile device' instructions at Troubleshoot—Survey123 for ArcGIS | ArcGIS . The log will be in the ArcGIS/AppStudio/logs directory.
James
I figured it out! I loaded Survey123 for ArcGIS onto my computer and then downloaded the survey, turned on log diagnostics, collected a point. Then read last line of log and it said "Cannot insert the value NULL into column 'Metadata'...column does not allow nulls". Thus, I put the field 'MetaData' back into the survey and added a default value.
But what I find curious, is this field which is in my existing feature service was built with:
"Allow NULL values = No" and Default Value = "http:....".
When I edit the feature service layer in AGOL (or ArcMap), the field gets automatically populated thus, I assumed it would automatically get populated in the survey app.
Thanks for all of your help,
Heather
Hi Heather,
Glad you were able to figure it out. From your description, it sounds like default values are not being applied to a field via the Feature Service API, correct?
Yes, you are correct. When I initially created the survey from an existing feature service the Metadata field in the survey form was not auto populated with the default value.