Select to view content in your preferred language

How to Edit..?

661
1
10-21-2010 06:58 AM
JoshV
by
Regular Contributor
Does anyone know the correct procedures for Editing a FeatureClass in Silverlight?  I'm familiar with publishing a MXD as a Map Service and adding its REST URL to a Silverlight template as a DynamicMapService but am not familiar with the steps to make any particular layer "Editable".  Do I need to publish the MXD as Geodata Access?  Do I decalre a FeatureLayer in the XAML and point to the REST URL of my Map Service? From what I read on FeatureLayers, they seem to be only meant for Graphic Layers.  I need to actually Edit the FeatureClass using multi-user editing.

Please advise.  Many thanks everyone..
0 Kudos
1 Reply
JenniferNery
Esri Regular Contributor
Once you have created an editable feature service. http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_dotnet_help/index.html#//009300000021...

You can create a FeatureLayer (in XAML or code-behind), use Editor or Editor Widget to enable editing in your SL app. Look at this sample: http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#EditToolsAutoSave

You can also visit the FeatureLayer URL in your browser to see what operations are available to you if you were to make an editable feature service.
0 Kudos