foreach (var fl in OMap.Layers) { if (fl is ESRI.ArcGIS.Client.FeatureLayer) { if ((fl as ESRI.ArcGIS.Client.FeatureLayer).Url == "http://.../myFeatureLayer/FeatureServer/0") { oFeatureLayer = fl as ESRI.ArcGIS.Client.FeatureLayer; } } } ESRI.ArcGIS.Client.Geometry.MapPoint mp = new ESRI.ArcGIS.Client.Geometry.MapPoint(X, Y); Graphic graphic = new Graphic(); graphic.Geometry = mp; graphic.Attributes.Add("guid", g); oFeatureLayer.Graphics.Add(graphic); if (oFeatureLayer.HasEdits) { oFeatureLayer.SaveEdits(); }