Select to view content in your preferred language

Web Editing - FeatureClass with Relationship

854
4
07-24-2011 06:49 PM
YamunadeviRathinasamy
Emerging Contributor
I am doing web editing in silverlight(REST-FeatureService). I have a featureclass and related to a table by one-many.

How to create, Edit, Delete feature with relationship?
0 Kudos
4 Replies
JenniferNery
Esri Regular Contributor
You can edit the feature service and table by representing each as FeatureLayer. You can also query their relationship similar to this sample: http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#QueryRelatedRecords. The FeatureLayer that represents your table, need to be initialized and then updated, so you may perform your edit on its rows.
0 Kudos
by Anonymous User
Not applicable
I am correct to assume that currently editing of related tables is NOT support through the ESRI REST api (irrespective of API) - correct?
0 Kudos
JenniferNery
Esri Regular Contributor
You can edit related table using FeatureLayer. It would be same as FeatureLayer from a feature service, only table consists of features with only attributes (no geometry).
0 Kudos
by Anonymous User
Not applicable
Hi Jennifer,

Just to be clear (apologise i need to find time to prototype this but if your able to clarify for now i would appreciate).  Are you inferring the related table can be edited in isolation or as part of a related record associated with an feature (e.g. select a feature & then able to edit its related records) & if so is this supported with the edit widgets or only through customisation?

Brad
0 Kudos