Select to view content in your preferred language

Features don't update after external edits on featureservice while loaded in viewer

507
2
10-12-2012 07:24 AM
JosVroegop
Deactivated User
I have a question about updating features that are loaded in the flexviewer from a featureservice.

The service is externaly eddited from desktop and mobile applications. Once the featurelayer is loaded in flexviewer, it only shows newly added features from external edits but no updates or removals. Only on refreshing the entire viewer the changes are visible.

I saw that a autorefresh function is available for dynamic layers but i was wondering if somehow the same could be accomplished on a feature layer. Setting the "mode" option to "onDemand" or "snapshot" makes no difference.

Thanks in advance!
Tags (2)
0 Kudos
2 Replies
BjornSvensson
Esri Regular Contributor
I saw that a autorefresh function is available for dynamic layers but i was wondering if somehow the same could be accomplished on a feature layer.


In the next version, 3.1, layers of type "feature" will  have an autorefresh option.

In the 3.0 API this is already supported, so if you are working with the source code of the viewer and compiling it yourself, you could add support for it yourself.
0 Kudos
JosVroegop
Deactivated User
Hi Bjorn,
Thanks for the information! I will check out the API option. Cheers.
0 Kudos