nathalieneagle

Example of how to apply edit

Discussion created by nathalieneagle on Aug 2, 2013
Latest reply on Aug 14, 2013 by akajanus-esristaff
I've been looking at the Apply Edits (Operation) example in the help document.

I can take an example there and add a feature and update a feature -

http://help.arcgis.com/en/arcgisserver/10.0/apis/rest/

I can only add and update for the html.  I do this by going to the end point

http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/SanFrancisco/311Incidents/FeatureServer/0/applyEdits

and dropping the appropriate code in the entry areas. 

If I switch to JSON I can also get the JSON to work



I'm hoping someone can help me with this:.

How do I push an update from my code.  Do you write everything in the url string
EXAMPLE - http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/SanFrancisco/311Incidents/FeatureServer/0/applyEdits/****HTML OR JSON **TO DO WORK***

Or do you somehow give the url in your code
http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/SanFrancisco/311Incidents/FeatureServer/0/applyEdits
and then place your html or JSON in the appropriate input boxes -- "ADD, UPDATES, DELETES"

Can someone show me an example of this  - I'm writing in Silverlight but if the example was in JS or FLEX I'm sure I could figure it out.

I would like to push with JSON

An example would be great to show me, I should be able to study that example and learn from that and do it on my own.



THanks
Nathallie.

Outcomes