Hi,
I am stuck one issue regarding Editor Widget and feature layer update. My feature layer is not getting updated after deleting features from it.
I have Editor Widget in the application and other tasks like attribute query, Identify etc. Below mentioned is my workflow in which I found the issue.
1. I add a new feature using feature template and I save changes to database. It works fine. Feature is added to SDE feature class.
2. I use my attribute query tool to find the newly added feature and it is found.
3. I delete the feature using Editor Widget. It gets deleted. It disappears from the map.I check in ArcMap and feature is deleted.
4. Again, I use my attribute query to find the deleted feature and surprisingly it is found. I cannot see the feature on the map, but my query finds that feature though it is deleted.
I have set DisableClientCaching property of the feature layer to true. So, once feature is deleted, it should not reside in cache. But, in my case, the deleted feature is again being pulled off from somewhere. II cannot see the feature normally, but if I fire any query on it, it is found.If I close the browser and restart the apps, I cannot find that feature using attribute query.
I subscribed to FeatureLayer_EndSaveEdits and I updated and refreshed the feature layer, but of no use. I updated the feature layer on ???Search??? button of attribute query, but no luck. This is really driving me crazy.
I would really appreciate if somebody help me out fix this issue.
Regards,
Sanjay.