Infrastructure Map Server Forum
Welcome to Autodesk’s Infrastructure Map Server Forums. Share your knowledge, ask questions, and explore popular Infrastructure Map Server topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

layer.UpdateFeatures is not working

0 REPLIES 0
Reply
Message 1 of 1
naveen2010
546 Views, 0 Replies

layer.UpdateFeatures is not working

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......

0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report