I am publishing a Survey123 survey from a feature service in ArcGIS Enterprise 10.6. I have Survey123 Connect 3.0.127 and Survey123 3.0.132
I had been publishing against 2.7 and then when upgrading, discovered the new requirement for supportsApplyEditsWithGlobalIDs must be true. My feature service had this as false. So I enabled archiving on my (nonversioned) dataset and republished, and now the parameter is true in my featureservice (see attachment)
However, my survey is still failing. To test, I have created a survey from the feature service item but have only one text field exposed in the survey.
The feature class has a related attachment table, using globalids as the foreign key. Everything is being created with python (2.7)
I am creating brand new featureclasses in oracle SDE for this project, so can make schema changes if necessary. I just don't quite see what they should be.
The globalid index on both the featureclass and the attachment table are unique after enabling archiving.
Hoping someone can point me to what I'm missing,
Solved! Go to Solution.
I just wanted to close the loop on this one and report that re-installing the app fixed the problem. I saw that another user had tried that and had success so I did the same.
Hi Erika,
The JSON provided is for the layer of the survey (layer 0); can you provide the equivalent information for the feature service endpoint (/FeatureServer without a /0, /1, etc?)
{ "currentVersion": 10.6, "serviceDescription": "", "hasVersionedData": false, "supportsDisconnectedEditing": false, "syncEnabled": true, "syncCapabilities": { "supportsRegisteringExistingData": true, "supportsSyncDirectionControl": true, "supportsPerLayerSync": true, "supportsPerReplicaSync": false, "supportsRollbackOnFailure": false, "supportsAsync": true, "supportsAttachmentsSyncDirection": true, "supportsSyncModelNone": true }, "supportedQueryFormats": "JSON, AMF", "maxRecordCount": 10000, "capabilities": "Create,Query,Update,Sync,Delete,Uploads,Editing", "description": "", "copyrightText": "", "spatialReference": { "wkid": 102100, "latestWkid": 3857 }, "initialExtent": { "xmin": -1.83577478309903E7, "ymin": -3898267.020702377, "xmax": -1.835773535586118E7, "ymax": -3898263.329757494, "spatialReference": { "wkid": 102100, "latestWkid": 3857 } }, "fullExtent": { "xmin": -2.0037507067161843E7, "ymin": -3099600.989440212, "xmax": 2.0037507067161843E7, "ymax": 3.024097195838615E7, "spatialReference": { "wkid": 102100, "latestWkid": 3857 } }, "allowGeometryUpdates": true, "allowTrueCurvesUpdates": false, "onlyAllowTrueCurveUpdatesByTrueCurveClients": false, "supportsApplyEditsWithGlobalIds": true, "supportsTrueCurve": true, "units": "esriMeters", "documentIn@@fo": { "Title": "Gas Exposed Pipe Inspection", "Author": "", "Comments": "Gas Exposed Pipe Inspection to collect data via Survey123", "Subject": "Gas Exposed Pipe Inspection to collect data via Survey123", "Category": "", "Keywords": "gas, exposed pipe" }, "supportsQueryDomains": true, "layers": [ { "id": 0, "name": "Gas Exposed Pipe Inspection", "parentLayerId": -1, "defaultVisibility": true, "subLayerIds": null, "minScale": 0, "maxScale": 0, "type": "Feature Layer", "geometryType": "esriGeometryPoint" } ], "tables": [], "enableZDefaults": false, "allowUpdateWithoutMValues": false }
Thanks Erika,
The enableApplyEditsWithGlobalIds setting is true at the feature service level; you should not be getting that error.
Just to check, are you getting the error on publishing from Connect or submitting via the Field app? Can I ask that you generate a log file (see Troubleshoot—Survey123 for ArcGIS | ArcGIS and engage logging without connecting to a console)?
I'm getting when submitting the survey, but not when publishing from Connect. I will work on the logging and try to get that to you.
James: I can't reproduce the error on the 32bit win version of Survey123 I have on my desktop. I am getting it on an iPad. I have enabled logging but am unsure how to access the file location on the ipad. How does one get to file:///var/mobile (etc)?
Hi Erika,
You can retrieve the logs by:
1) Connecting the iPad to a computer with iTunes
2) in iTunes, click on the device icon to go into the device configuration
3) Click on 'File Sharing'. Select Survey123- you will then see an 'ArcGIS' folder in the file list
4) Save the ArcGIS folder to the computer. The log files will be in ArcGIS/AppStudio/logs
Thanks James. iTunes is forbidden at our organization, so this may take a little while. Thanks for being so responsive; I will keep at it.
Hi Erika,
The log file appears to only show that the log file was engaged. Can you start a log and attempt to submit a form?