[mapguide-users] Not Implemented for MgSelection.GenerateFilter

Steve Dang steve.dang at autodesk.com
Mon Apr 14 18:50:58 EDT 2008


Hi Darrin,

What do you see in the server log file?

Steve.

From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Darrin Maidlow
Sent: Monday, April 14, 2008 3:24 PM
To: 'MapGuide Users Mail List'
Subject: RE: [mapguide-users] Not Implemented for MgSelection.GenerateFilter

Hi Steve,

Thanks for the suggestion and quick reply.  I had tried MgSelection initially, and changed it over to MgSelectionBase in my trying of things.  I just set it back and am still receiving the Not Implemented error.

One other thing I noticed that may or may not be relevant is they if I right click and quick watch on the mgselection object, the properties are not visible in the IDE.

Below is the XML from my selection in case it is relevant.
<FeatureSet size="1">
<Layer id="4631e36a-0000-1000-8004-0011d8b31fa4">
<Classid="Default:V_FV_BLDG_DOCUMENT">
<ID>VHlwaWNhbCBIaWdoIFJpc2UgT2ZmaWNlAJkAAAAJAAAABQAAADM2MCBDYW1lcmEACAAAADM2MCBDYW1lcmEAbW92AAEAAAACAAAAT2ZmaWNlIC0gTGFyZ2UgMzYwANcHCAENAAAAAAAAAQAAAA==</ID>
</Class>
</Layer>
</FeatureSet>"

Thanks again
darrin
From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Steve Dang
Sent: Monday, April 14, 2008 2:47 PM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] Not Implemented for MgSelection.GenerateFilter

Try to use MgSelection instead of MgSelectionBase (e.g. Dim currentSel As New MgSelection(oMap))

Steve.

From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Darrin Maidlow
Sent: Monday, April 14, 2008 1:28 PM
To: mapguide-users at lists.osgeo.org
Subject: [mapguide-users] Not Implemented for MgSelection.GenerateFilter

Hi,

I'm stuck trying to work with a selection generated from the dwf viewer.  I've been working with the sample in the developers guide but ported over to vb.net.  I'm running MGE 2008.

Basically I go through the motions, create new selection based on the passed selectionXML and everything is cool until I get to the MgSelection.GenerateFilter call.  When I pass the layer object, and the session ID I get an MgNotImplemented error.

I've attached a text file with a bit o' code.  Any suggestions would be greatly appreciated.  I'm sure I've missed something little or done something silly.

Thanks
darrin


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080414/cc6afca1/attachment.html


More information about the mapguide-users mailing list