Summary
ArcGIS Collector is often used in Offline Mode to make edits and create features to a feature layer.
Sometimes a Sync Error is received when trying to synchronize edits made to a feature layer in ArcGIS Collector (Windows).
If the Sync can't be made, or anything goes wrong, it is still possible to access the content directly from the device and upload it to ArcGIS Online manually.
There can be multiple causes for this:
- Users have signed in to the same account on multiple devices
- There is a bad network connection
- There was a corruption in the upload
Procedure
The following workflow can be used to recover the content including the changes made to the data.
- On the Windows device, open Windows File Explorer.
- Browse to the following folder:
C:\Users\<username>\AppData\Local\Packages\Esri.CollectorforArcGIS_eytg3kh68c6a8\LocalState
- Open the <username>_<orgId> folder related to the organization you are working with. If unsure, open the accounts.json folder in the LocalState directory and reference the folders section to determine which relate to the organization in question.
- To find the correct folder for the map, either open and cross-reference the thumbnail, or open the info.json file and browse to the title parameter, which is the name of the web map.
The following images show the folder location, the info.json file, and the map view in ArcGIS Collector, respectively.
- Copy the <name.geodatabase> file from this directory and convert it with the appropriate the geoprocessing tool:
- Check that this has converted properly by loading the feature class from the output file geodatabase into ArcMap or ArcGIS Pro.
- Once the database has been converted, locate the output database in Windows File Explorer and add it to a compressed (.zip) folder.
- In ArcGIS Online, navigate to the feature layer for which the changes are intended and click Update Data > Append Data to Layer.
- Browse to the .zip file of the geodatabase and select File Geodatabase for the contents drop down.
- Select Upload and Continue and Apply Updates. You should now be able to view the updates in the ArcGIS Online Map Viewer.