Select to view content in your preferred language

AttributeInspector and update problem.

690
2
02-24-2011 05:10 AM
SylvainKerdreux
Emerging Contributor
Hello,

I have a problem with AttributeInspector and refreshing updates on a feature.
To see any modifications I have to reload my flex application. I try to refresh all layers (dynamic, tiled, feature, graphics) but I can't see my modifications without refreshing all my application.

my code to apply edit :

const updates:Array = [ featureSelected ];
  featureLayerParcellesAttributaires.applyEdits(null, updates, null,
   new AsyncResponder(featureLayer_editsCompleteHandler, featureLayer_faultHandler,{ feature: featureSelected, field: null, oldValue: null }));


and in the featureLayer_editsCompleteHandler :

attributeInspectorParcelles.refreshActiveFeature();
featureLayerParcellesAttributaires.refresh();


ActiveFeature in AttributeInspectorParcelles is not null.
Tags (2)
0 Kudos
2 Replies
AnupamDas
Emerging Contributor
Did you find a solution?
0 Kudos
IvanBespalov
Frequent Contributor
Sylvain,

1 - Try to set disableClientCaching = true; for your feature layer.

2 - If not success, show your result function featureLayer_editsCompleteHandler code (full).
0 Kudos