Select to view content in your preferred language

Unable to create new feature for FeatureLayer with editor widget

864
1
01-26-2017 10:09 PM
MartinZapotocky
Deactivated User

I´m using the sample for default editor widget with the help of ArcGIS API for JavaScript. I replaced featurelayers with my own layer. It´s possible to update and delete features, but I can´t create/add new feature (console: Error: Unable to complete operation.). Can someone identify my problem ? Can it be problem with creating of OBJECTID for new feature (I hoped that it could be created automatically) or somewhere in capabilities of service ?

0 Kudos
1 Reply
PanagiotisPapadopoulos
Esri Regular Contributor

Try to setup a proxy page on your application.

Using the proxy | Guide | ArcGIS API for JavaScript 3.19 

0 Kudos