I'm new to ArcGIS API. In a form, how can you submit data to modify a feature using applyEdits? No map is involved with this.
I have a form that populates the editable data with javascript. When the user clicks save changes, I want the changes to be processed using applyEdits.
So far, I have:
var Editable = new FeatureLayer("......", { mode: FeatureLayer.MODE_SNAPSHOT }); Editable.applyEdits(null,[ { "attributes": { "bldg_prop_id": 6086, "bldg_water_utility_name": "New Data" } }],null); This doesn't work but I'm not sure where to go with this.
أكثر...
I have a form that populates the editable data with javascript. When the user clicks save changes, I want the changes to be processed using applyEdits.
So far, I have:
var Editable = new FeatureLayer("......", { mode: FeatureLayer.MODE_SNAPSHOT }); Editable.applyEdits(null,[ { "attributes": { "bldg_prop_id": 6086, "bldg_water_utility_name": "New Data" } }],null); This doesn't work but I'm not sure where to go with this.
أكثر...