Infrastructure Map Server Developer

Infrastructure Map Server Developer

Reply
New Member
naveen2010
Posts: 2
Registered: ‎06-25-2010
Message 1 of 1 (354 Views)

layer.UpdateFeatures is not working

354 Views, 0 Replies
06-25-2010 04:02 AM

I m new in mapguide 2010, i want to filter on layer data which connected with oracle db. Kindly somebody help me about this.

 

MgFeatureCommandCollection

updateCommands = new MgFeatureCommandCollection();

 

updateCommands.Add (new MgDeleteFeatures ("Point", "clientid like '2%'")); layer = map.GetLayers().GetItem("Point");

MgLayer.UpdateFeatures(commands);

layer

layer.Visible = true;
layer.ForceRefresh();


Above code throwing "null" Error on this: layer.updatefeature.


Please somebody help me......

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.