Facing issues for esri flex viewer edit widget 3.6/2.5

3052
1
Jump to solution
03-20-2015 11:19 PM
SaurabhGupta5
Occasional Contributor


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

                  

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
SaurabhGupta5
Occasional Contributor

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

View solution in original post

0 Kudos
1 Reply
SaurabhGupta5
Occasional Contributor

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

0 Kudos