Infrastructure Map Server Developer

Infrastructure Map Server Developer

Reply
New Member
2 Posts
0 Kudos
Registered: ‎06-25-2010
Post 1 of 1

layer.UpdateFeatures is not working

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

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!