hi, I´m new in pmapper, and I have a big problem for a few days. I have prepared a Web viewer and everthing works fine except for the configuration of the xml search file.
I want to configure a search query with a shape:municipios If i put the following xml search file all is good: #<?xml version='1.0'?> #<searchlist version="1.0"> # <dataroot></dataroot> # # # <searchitem name="municipios" description="Municipios"> # <layer type="shape" name="municipios"> # <field type="s" name="NOM_MUN" description="Nombre" wildcard="0" /> # </layer> # </searchitem> # # </searchlist> but when I want to set my search as DEFINITION TYPE= "options", then I put the next xml search file: #<?xml version='1.0'?> #<searchlist version="1.0"> # <dataroot></dataroot> # # # <searchitem name="municipios" description="Municipios"> # <layer type="shape" name="municipios"> # <field type="s" name="NOM_MUN" description="Municipio" wildcard="2" /> # <definition type="options" connectiontype="ms" sort="asc" firstoption="*"> # <mslayer encoding="ISO-8859-1" keyfield="NOM_MUN" showfield="NOM_MUN"/> # </definition> # </field> # </layer> # </searchitem> # # </searchlist> but then nothing appears. Only I found this sample code to create a search type "options" on web of p.mapper but I do not understand some parameters. i dont know the meaning of "ms" in connection type because in search.php only there are three types:db, dbase, csv,inline. I dont know if the word "mslayer" in the second code is fixed or is related to the type of connection, for example "ms". The connection to my shape file is direct and not a postgis. I need to configure the search in order to continue developing my web visor with pamapper. Thanks for advance. -- View this message in context: http://www.nabble.com/Problems-with-Parameters-of-xml-search-file-tf4902142.html#a14042413 Sent from the pmapper users mailing list archive at Nabble.com. ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ pmapper-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pmapper-users
