Select to view content in your preferred language

Feature layer error of FeatureServer

922
6
09-15-2011 02:46 AM
ManojrajTeli
Deactivated User
When i add a feature layer from Featureserver that time it doesn't get displayed in the map control but  
i can add feature through editor widget but then new features also disappears.But when i add feature layer from MapServer all the feature get displayed.I used the MXD from previous service which works fine and only changed datasouce.Can any body suggest what is the problem.Thank you in advance.
0 Kudos
6 Replies
SanajyJadhav
Deactivated User
What mode have you set on FeatureLayer?
0 Kudos
ManojrajTeli
Deactivated User
I did not get you sir which mode exactly..i Have set Map-server WFS,WMS,WCS,Feature Access,KML.Please elaborate.I can add features but i cannot see ,edit,delete those feature once they are added they just disappear.Please elaborate so i can fix the problem.because point feature i can see but and some polygon others i cant see.
0 Kudos
JenniferNery
Esri Regular Contributor
Sanjay is talking about the FeatureLayer.Mode (Snapshot, OnDemand, SelectionOnly). Kindly see description here: http://help.arcgis.com/en/webapi/silverlight/help/index.html#//016600000015000000.htm. It's possible that you have it on SelectionOnly.

You might also want to check FeatureLayer.DisableClientCaching property: http://help.arcgis.com/en/webapi/silverlight/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.FeatureLay...
0 Kudos
ManojrajTeli
Deactivated User
I have checked FeatureLayer.Mode ="OnDemand" and i have not set the DisableClientCaching  value.i used the same application for old services and work fine and i just changed url property of feature layer with new service url.I think there is some problem with services or geometry.Suggest some solution.
0 Kudos
JenniferNery
Esri Regular Contributor
Are you setting FeatureLayer.Renderer? Does it match the FeatureLayer.LayerInfo.GeometryType? For example, FillSymbols for Polygon, LineSymbols for Polyline. Could it be that you've set FeatureLayer.Renderer to an incompatible symbol?
0 Kudos
ManojrajTeli
Deactivated User
My bad one of the outfield is renamed so it was not shoeing features fro feature server.Thank you for the replies and sorry.
0 Kudos