Dear Friends,
I am using ArcGIS Enterprise 11.5 , ArcGIS Pro 3.5.5, Database - SQL Server, Utility Network data - UtilityNetwork version 6.
I am working ArcGIS field maps to for field survey and update feature information using ArcGIS field maps app. I am able to create and submit features using online. But when it comes to offline, I was failed to sync my updates. I am getting the below error in arcgis server log when I click sync offline edits in ArcGIS field maps app in my iphone/ipad.
I am getting this issue with both UN data and GN data.
I am workflow is follows.
Create ArcGIS Pro Project using Electric UN data (Data referencing to SQL server database). ->Banch version enabled-> Publish as web layer (capabilities like add/update/delete/sync enabled). -> Created a Web map using the Feature service URL -> Created a form for one of the layer (say ElectricDevice) with basic one or two fields->Accessing the web map in ArcGIS field maps app -> Feature create and submit working in online -> Created a offline area -> Switched off the Internet in device(ipad) -> created a feature with attrbutes updates and submitted -> Switch back to online -> Open the same web map -> looked for Sync option, clicked on sync-> I dont see any errors in iPad, but no features are moved to online version. and I am seeing above error in server log.
Please help on where I am missing , and I need to look for.
Thanks in advance.
Thanks,
Ashok
Have you looked at the troubleshooting logs in Field Maps App? That might give a better idea of what is going on.
I say that as the two errors in the log you posted seem to appear at least once or twice a day since AGS 10.6.1 (still in 10.8.1 and 10.9.1) and tech support finally gave up on trying to figure out why. So, I kind of doubt it is related to the offline issue.
Never seems to cause any issues that we've noticed. But, I have not tried offline with Portal, nor branch verioning.
R_
Dear RhettZufelt,
Thank you for looking into this.
Yes, I checked the troubleshooting logs in the Field Maps app. It shows that the feature sync completed successfully, and there are no errors during the sync process.
However, even though the logs indicate success, the feature is not reflecting in the layer (not visible in the service or map).
Sharing the relevant log info for reference. Please let me know if you see anything that could explain this behavior.
"
21/5/26, 4:11:25 PM [AUTHENTICATION] Removing Handler: Cancel Handler: Load Map Items-abc
21/5/26, 4:11:22 PM [AUTHENTICATION] Removing Handler: Cancel Handler: Load Map-abc
21/5/26, 4:11:22 PM [LOADING] Loaded map abc
21/5/26, 4:11:22 PM [MAP TOOLS] Not creating IPS, no indoor positioning definition
21/5/26, 4:11:22 PM [TASKS] Not creating Tasks: No Configuration
21/5/26, 4:11:22 PM [SPATIAL UNIT] Not creating SpatialUnitCapability
21/5/26, 4:11:22 PM [AUTHENTICATION] Adding Handler: Cancel Handler: Load Map Items-abc
21/5/26, 4:11:22 PM [GEOTRIGGERS] Geotrigger count: 0
21/5/26, 4:11:20 PM [AUTHENTICATION] Adding Handler: Cancel Handler: Load Map-abc
21/5/26, 4:10:12 PM [DEBUG] stopping background processor
21/5/26, 4:10:12 PM [DEBUG] Disable background processor for Sync abc
21/5/26, 4:10:12 PM [SYNC] [abc] - The map sync completed successfully
21/5/26, 4:10:12 PM [SYNC] [abc] - Job succeeded.
21/5/26, 4:10:12 PM [SYNC] [abc] - job succeeded
21/5/26, 4:10:12 PM [SYNC] [abc] - Layer result: Sync with feature service successful Name: FM Pump test, LayerID: 0, TableName: WPump, URL: https://abc/test/rest/services/WaterUN/test/FeatureServer/0
21/5/26, 4:10:12 PM [SYNC] [abc] - Sync geodatabase: Succeeded. URL: https://abc/test/rest/services/WaterUN/test/FeatureServer
21/5/26, 4:10:12 PM [SYNC] [abc] - Sync geodatabase: Server job complete. URL: https://abc/test/rest/services/WaterUN/test/FeatureServer
21/5/26, 4:09:52 PM [SYNC] [abc] - Sync geodatabase: Creating server job. URL: abc
21/5/26, 4:09:47 PM [SYNC] Updating local edit count
21/5/26, 4:09:47 PM [AUTHENTICATION] Removing Handler: Cancel Handler: Load Map-abc
21/5/26, 4:09:47 PM [LOADING] Loaded map abc
21/5/26, 4:09:47 PM [MAP TOOLS] Not creating IPS, no indoor positioning definition
21/5/26, 4:09:47 PM [TASKS] Not creating Tasks: No Configuration
21/5/26, 4:09:47 PM [AUTHENTICATION] Removing Handler: Cancel Handler: Load Map Items-abc
21/5/26, 4:09:47 PM [SPATIAL UNIT] Not creating SpatialUnitCapability
21/5/26, 4:09:47 PM [AUTHENTICATION] Adding Handler: Cancel Handler: Load Map Items-abc
21/5/26, 4:09:47 PM [GEOTRIGGERS] Geotrigger count: 0
21/5/26, 4:09:47 PM [AUTHENTICATION] Adding Handler: Cancel Handler: Load Map-abc
21/5/26, 4:09:40 PM [SYNC] [abc] - Sync geodatabase: Job started. URL: https://abc/test/rest/services/WaterUN/test/FeatureServer
21/5/26, 4:09:40 PM [SYNC] [abc] - Preparing to sync 1 geodatabase.
21/5/26, 4:09:40 PM [SYNC] [abc] - No map area found. Download scheduled updates unavailable.
21/5/26, 4:09:40 PM [SYNC] [abc] - Possible sync with feature service: Preparing layer. Name: FM Pump test, LayerID: 0, TableName: WPump, URL: https://abc/test/rest/services/WaterUN/test/FeatureServer/0 , Sync model: Per geodatabase, Sync direction: 'bidirectional', no rollback on failure, no reconcile branch version.
21/5/26, 4:09:40 PM [SYNC] [abc] - Reconcile branch version was turned off for feature services that do not support it.
21/5/26, 4:09:40 PM [SYNC] [abc] - Loading map.
21/5/26, 4:09:40 PM [SYNC] [abc] - Job started.
21/5/26, 4:09:40 PM [SYNC] [abc] - job started
21/5/26, 4:09:40 PM [DEBUG] Starting background processor
21/5/26, 4:09:40 PM [DEBUG] Enable background processor for Sync abc
21/5/26, 4:09:23 PM [SYNC] Updating local edit count
21/5/26, 4:09:22 PM [SNAPPING] Deactivating feature snapping
21/5/26, 4:09:22 PM [SNAPPING] NOT activating snapping because not editing any features yet or it's disabled."
Thank you.