Hello.
I am working on edit widget of flex and facing some issue. I have loaded feature layer and when i start creating a drawing on map and finish by double clicking , pop-up inspector gets enable with attributes and as soon as i start entering the attributes , feature goes away. this is very weird.
same code was working for esri viewer 2.5 but not now. there is no change in code.
after narrowing doen the issue i have analyzed that
FeatureLayerEvent.EDITS_COMPLETE is not firing up until i click on ok button or anywhere else on map.
Please help me in resolving this issue.
Thanks
Solved! Go to Solution.
Hello All,
I have used combination of below events to resolve my problem
editor.attributeInspector.addEventListener(AttributeInspectorEvent.SAVE_FEATURE,attrInsp_saveFeatureHandler);
editor.attributeInspector.addEventListener(AttributeInspectorEvent.UPDATE_FEATURE,attrInsp_updateFeatureHandler);
Thanks
Hello All,
I have used combination of below events to resolve my problem
editor.attributeInspector.addEventListener(AttributeInspectorEvent.SAVE_FEATURE,attrInsp_saveFeatureHandler);
editor.attributeInspector.addEventListener(AttributeInspectorEvent.UPDATE_FEATURE,attrInsp_updateFeatureHandler);
Thanks