I have a web map with five hosted feature layer views (all pulling from the same parent) representing different inspection statuses (pending, in progress, completed, etc.). This map is being used for offline field collection using map areas defined on the web map item.
When edits are made to the inspection status and the offline area is synced on the device, the hosted feature layer view filter apparently fails to apply to exclude the previous value. For example, when changing from "pending" to "completed", points show for both statuses:
Before edit, we have one feature at this location with status "pending":
After changing the status to "completed" and syncing the offline map area, we now have two points at the same location, showing both statuses:
Any ideas how to resolve?
Solved! Go to Solution.
I think this is due to record's can be added to a offline replica but are not usually taken out since that would fire as a delete. I have this issue in SDE replication also. In the end I changed how I did it.
Have you tried the new built in filters for Field Maps? We pushed for years to get them and they are new. It allows for on the fly fitters in the app.
I cannot find the help page on it but see here https://community.esri.com/t5/arcgis-field-maps-ideas/filter-data-in-field-maps/idi-p/1172111
Not as ideal maybe but it should work.
I think this is due to record's can be added to a offline replica but are not usually taken out since that would fire as a delete. I have this issue in SDE replication also. In the end I changed how I did it.
Have you tried the new built in filters for Field Maps? We pushed for years to get them and they are new. It allows for on the fly fitters in the app.
I cannot find the help page on it but see here https://community.esri.com/t5/arcgis-field-maps-ideas/filter-data-in-field-maps/idi-p/1172111
Not as ideal maybe but it should work.
Thanks Doug. I think the filters might be our best option here.
From my testing, the only way to make the views in the offline area match the web map again is to update the map area, then have the user delete the map area from their device and re-download -- not ideal for workers in the field.
I appreciate your help.