Select to view content in your preferred language

Editor Widget not saving

1903
11
11-19-2010 05:50 AM
WilliamDonahue
Emerging Contributor
I've run into a slight problem. The Editor Widget is not saving any edits i make during a session. Even when i try to use not auto save and push the save button. Below i have the code for the widget and one of my feature layers.

<esri:EditorWidget x:Name="Editor" Margin="8,38,8,0" VerticalAlignment="Top"
             Map="{Binding ElementName = Map}"
 LayerIDs="Service, Power, Ground, CB Cable"
 AutoSelect="False"
 GeometryServiceUrl="<servername>/ArcGIS/rest/services/Geometry/GeometryServer"
 ShowAttributesOnAdd="True" />

<esri:FeatureLayer ID="CB Cable"
             Url="http://<servername>/ArcGIS/rest/services/Codeblue/FeatureServer/1"
 MouseLeftButtonUp="FeatureLayer_MouseLeftButtonUp" DisableClientCaching="True"
             AutoSave="False"
 Mode="OnDemand" OutFields="*"></esri:FeatureLayer>



All my data is stored on an Enterprise SDE server and my data is versioned. i'm just confused because i can edit the the OTB app from ArcGIS Server.
0 Kudos
11 Replies
JenniferNery
Esri Regular Contributor
Kindly look at post #14 in this forum post: http://forums.arcgis.com/threads/14730-Area-And-Perimeter Once you know the parameters used by SL app (and they seem correct), you can use the same parameters on your web browser. Also check if any other web request failed prior to edits.
0 Kudos
JulianoKersting
Emerging Contributor
Hi was having the features not been saved too.

I figured out by checking the error that the following error message:

Geometry does not have Z Value(s).

Thats probably because the feature class that I am trying to edit has Z values.

Is there a way of specifying z Values on Editor Widget?

Thanks.
0 Kudos