Select to view content in your preferred language

My own attribute editing function

528
0
08-02-2013 08:46 AM
NathalieNeagle
Regular Contributor
I've been looking at the Apply Edits (Operation) example in the help document (REST API).

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...

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... 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...
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.
0 Kudos
0 Replies