Select to view content in your preferred language

OBJECTID of Added Feature

533
1
06-16-2011 06:08 PM
Gregme
by
Emerging Contributor
Hi...Anyone know how I can access the OBJECTID of a feature added using ApplyEdits?

Thank you so much!
Tags (2)
0 Kudos
1 Reply
IvanBespalov
Frequent Contributor
I know.

1 - Flex API Reference.
2 - featureLayer.applyEdits().
3 - FeatureLayerEvent.featureEditResults.
4 - FeatureEditResults.
5 - FeatureEditResult.objectId.

All you need is listen FeatureLayerEvent after calling applyResults(adds:Array, updates:Array, deletes:Array, new AsyncResponder(resultListenerFunctionName, faultListenerFunctionName)).
0 Kudos