AnsweredAssumed Answered

Trouble Adding Attachment

Question asked by townofsnowflake on Oct 18, 2012
Latest reply on Oct 20, 2012 by townofsnowflake
I'm trying to add an attachment to a feature in the callback of an applyEdits method in which the feature was created.  The applyEdits method is already working.  In order to add the attachment, I need the objectID of the new feature.  I've tried querying the feature service with the exact geometry that was used to create the feature in an attempt to get the ObjectID.  I'm not getting any results.
I am not getting results even when I query for a known objectID, or any results for any other attribute.

All of this is done in an activity without a map.

What am I missing?

Outcomes