[mapguide-users] Not Implemented for MgSelection.GenerateFilter
Steve Dang
steve.dang at autodesk.com
Tue Apr 15 11:55:24 EDT 2008
The problem is from the web tier. Note that the MgSelectionBase::GenerateFilter method will throw an MgNotImplementedException if the property type of the filtered data is not one of the following types:
MgPropertyType::Int16
MgPropertyType::Int32
MgPropertyType::Int64
MgPropertyType::String
MgPropertyType::Single
MgPropertyType::Double
Steve.
From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Darrin Maidlow
Sent: Tuesday, April 15, 2008 8:30 AM
To: 'MapGuide Users Mail List'
Subject: RE: [mapguide-users] Not Implemented for MgSelection.GenerateFilter
Steve,
I checked the error.log and there doesn't actually seem to be any log generated for this event. I stopped the server service, cleared the log, started the service and then caused the not implemented thing.
Thanks
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 4:51 PM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] Not Implemented for MgSelection.GenerateFilter
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/20080415/68577ad3/attachment.html
More information about the mapguide-users
mailing list