AnsweredAssumed Answered

Feature Layer from Feature Collection applyEdits don't work

Question asked by soldous on Apr 20, 2017
Latest reply on Apr 24, 2017 by soldous


In a widget I create a new Feature Layer from Feature Collection. From web service I want to add features to this Feature Layer. When I fire applyEdits() function to add the features everything goes well without any error message. But the Feature Layer is still empty. I tried to add edits-complete event and it also fired after complete adding features, so everything seems to be good but the Feature Layer is still empty.

My code is almost the same as this sample code Feature collection | ArcGIS API for JavaScript 3.20  

But I don't know where could be the problem because the whole code works. 

Have anyone an idea?


Thanks for any help.