Hi,
When I update a FeatureTable (using updateFeature(Feature*) ), I was kinda hoping that the FeatureLayer which is used to render the data would automatically refresh, and show the new situation. Which doesn't happen.
How can I keep the View (=layer) in sync with the Data (=table) ?
Thanks for any suggestions.
The layer should update automatically as you expected that it would. Our "Update attributes (feature service)" sample demonstrates this. What are the details of the scenario you are running into? Have you made sure that your edit to the table has been successful?
I have looked at the sample code, but there is one (probably important) difference :
instead of a ServiceFeatureTable, we are using a GeodatabaseFeatureTable - all operations are done off-line.
This also means that there is no applyEdits() method to invoke.
Updating attributes works fine, by the way, but updating geometry is causing me headaches....