I'm using a FeatureLayer created from a featureCollectionObject that is based on a non-spatial table. The featureLayer loads correctly and I can use it in my webApp. I can successfully perform applyEdits that update or delete features on the featureLayer. But it is unsuccessful when I try to perform an applyEdits that adds features. The applyEdits(add) result object has a success: true property and a poplulated objectId property, but the graphic is not added to the featureLayer. The featureLayer's _nextId property is a valid number. Using the same graphic on the applyEdits(add) rest service successfully adds the graphic to the service.
TLDR:
- FeatureLayer is created from a featureCollection based on a non-spatial table
- FeatureLayer can update and delete graphics using the applyEdits method
- Adding a feature using the applyEdits method returns with a success true result but the graphic is not added
- I can successfully add the same graphic to the rest service using applyEdits