[mapguide-users] Some changes I've made to the standard search

Michael Adair madair at dmsolutions.ca
Fri Nov 11 09:12:21 EST 2011


Jamo,

The best way to get this into the code base is to create a ticket for it 
on the Fusion trac system so that we don't lose track of it:
http://trac.osgeo.org/fusion/

Thanks!

Mike

On 10/11/2011 8:07 PM, Jamo wrote:
> Hey guys/girls,
> If anyone is interested I've modified the existing fusion search to allow
> searching on multiple properties, I've no tried it on anothe site but it
> functions for me just fine, it also takes into account the layers filter.
>
> Just thought I'd post it up someone else might find it useful :)
>
> differences in the widget xml are as follows
>      /Filter FIRST_PROP_NAME LIKE '%25$USER_VARIABLE1%25' AND
> SECOND_PROP_NAME LIKE '%25$USER_VARIABLE2%25'/
> each additional property should be given the next number IE $USER_VARIABLE3,
> $USER_VARIABLE4.
> note the %25 is a wildcard %.
>      /<UserVariables>FIRST_PROP_NAME Label,SECOND_PROP_NAME
> Label</UserVariables>/
> for each $USER_VARIABLE you can define a label to be displayed on the search
> form.
>          /<Layers>
>            <Layer>
>              <Name>FirstLayer</Name>
>            </Layer>
>            <Layer>
>              <Name>SecondLayer</Name>
>            </Layer>
>            <Layer>
>              <Name>ThirdLayer</Name>
>            </Layer>
>          </Layers>
>         /
> is a list of layers to be searched, note that each layer should contain the
> required properties being filtered on and returned :)
>
> http://osgeo-org.1803224.n2.nabble.com/file/n6984053/pobSearch.zip
> pobSearch.zip
>
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/Some-changes-I-ve-made-to-the-standard-search-tp6984053p6984053.html
> Sent from the MapGuide Users mailing list archive at Nabble.com.
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users


More information about the mapguide-users mailing list