<div style="font-family: arial; font-size: 14px;"><div fr-original-style="" style="box-sizing: border-box;">Hi Clinton</div><div fr-original-style="" style="box-sizing: border-box;"><br fr-original-style="" style="box-sizing: border-box;"></div><div fr-original-style="" style="box-sizing: border-box;">  You need to ADD a "mapserver-wfs" mapsource to your mapbook, then edit the exisiting "mapserver" mapsource to use it for attribute queries by adding a query-as attribute to the layer tag:</div><div fr-original-style="" style="box-sizing: border-box;"><br fr-original-style="" style="box-sizing: border-box;"></div><div fr-original-style="" style="box-sizing: border-box;"><span fr-original-style="font-family: courier new; font-size: 12px;" style="font-family: courier new; font-size: 12px; box-sizing: border-box;"><map-source name="cdcem" type="mapserver" title="CD Cemetery"><br id="isPasted" fr-original-style="" style="box-sizing: border-box;">    <file>./demo/castledale_cem/castledale.map</file><br fr-original-style="" style="box-sizing: border-box;">    <param name="typename" value="ms:cdcem"/><br fr-original-style="" style="box-sizing: border-box;">    <layer name="cdcem" selectable="true" title="CD Cemetery" <strong fr-original-style="" style="box-sizing: border-box; font-weight: 700;">query-as="cdcem-wfs/cdcem</strong>"><br fr-original-style="" style="box-sizing: border-box;">        <template name="identify"><![CDATA[<br fr-original-style="" style="box-sizing: border-box;">        <div><br fr-original-style="" style="box-sizing: border-box;">            <div class="feature-class cdcem"><h3>Grave Information</h3></div><br fr-original-style="" style="box-sizing: border-box;">        <div class="item"><b>Name:</b> {{ properties.Deceased_1 }}</div><br fr-original-style="" style="box-sizing: border-box;">            <div class="item"><b>Birth Date:</b> {{ properties.Birth_Da_1 }}</div><br fr-original-style="" style="box-sizing: border-box;">            <div class="item"><b>Death Date:</b> {{ properties.Death_Da_1 }}</div><br fr-original-style="" style="box-sizing: border-box;">         </div><br fr-original-style="" style="box-sizing: border-box;">                ]]></template><br fr-original-style="" style="box-sizing: border-box;">    </layer><br fr-original-style="" style="box-sizing: border-box;">    <param name="FORMAT" value="image/png"/><br fr-original-style="" style="box-sizing: border-box;"></map-source><br fr-original-style="" style="box-sizing: border-box;"><br fr-original-style="" style="box-sizing: border-box;"><map-source name="cdcem-wfs" type="mapserver-wfs" title="CD Cemetery"><br fr-original-style="" style="box-sizing: border-box;">    <file>./demo/castledale_cem/castledale.map</file><br fr-original-style="" style="box-sizing: border-box;">    <param name="typename" value="ms:cdcem"/><br fr-original-style="" style="box-sizing: border-box;">    <layer name="cdcem" status="off" title="CD Cemetery"><br fr-original-style="" style="box-sizing: border-box;">        <template name="search"><![CDATA[<br fr-original-style="" style="box-sizing: border-box;">                        <div class="search-result"><br fr-original-style="" style="box-sizing: border-box;">                        <div class="search-label">{{ properties.Lname }}</div><br fr-original-style="" style="box-sizing: border-box;">                        <div class="search-action"><br fr-original-style="" style="box-sizing: border-box;">        <div style="padding: 2px"><a onClick="app.zoomToExtent([{{ properties.boundedBy | join }}], 'EPSG:3857')" class="zoomto-link"><i class="fa fa-search"></i></a></div><br fr-original-style="" style="box-sizing: border-box;">                        </div><br fr-original-style="" style="box-sizing: border-box;">                        </div><br fr-original-style="" style="box-sizing: border-box;">                    ]]></template><br fr-original-style="" style="box-sizing: border-box;">    </layer><br fr-original-style="" style="box-sizing: border-box;"></map-source></span><br fr-original-style="" style="box-sizing: border-box;"><br fr-original-style="" style="box-sizing: border-box;">Note the status=off in the wfs layer so the geometry is not shown on the map.</div><div fr-original-style="" style="box-sizing: border-box;"><br fr-original-style="" style="box-sizing: border-box;"></div><div fr-original-style="" style="box-sizing: border-box;">Best Regards,</div><div fr-original-style="" style="box-sizing: border-box;">Brent Fraser</div><div fr-original-style="" style="box-sizing: border-box;" contenteditable="false"> </div><div fr-original-style="" style="box-sizing: border-box;"><br fr-original-style="" style="box-sizing: border-box;"></div><hr id="previousmessagehr" fr-original-style="" style="box-sizing: border-box; clear: both; user-select: none;"><div fr-original-style="" style="box-sizing: border-box;"><strong fr-original-style="" style="box-sizing: border-box; font-weight: 700;">From</strong>: "Clinton Olsen" <ClintonO@emery.utah.gov><br fr-original-style="" style="box-sizing: border-box;"><strong fr-original-style="" style="box-sizing: border-box; font-weight: 700;">Sent</strong>: 9/16/21 2:06 PM<br fr-original-style="" style="box-sizing: border-box;"><strong fr-original-style="" style="box-sizing: border-box; font-weight: 700;">To</strong>: Brent Fraser <bfraser@geoanalytic.com><br fr-original-style="" style="box-sizing: border-box;"><strong fr-original-style="" style="box-sizing: border-box; font-weight: 700;">Cc</strong>: geomoose-users@lists.osgeo.org<br fr-original-style="" style="box-sizing: border-box;"><strong fr-original-style="" style="box-sizing: border-box; font-weight: 700;">Subject</strong>: Re: [Geomoose-users] 3.x Layer Search Feature</div><div fr-original-style="" style="box-sizing: border-box;"><br fr-original-style="" style="box-sizing: border-box;"></div><div dir="ltr" fr-original-style="" style="box-sizing: border-box;"><div fr-original-style="" style="box-sizing: border-box;">Hi Brent,</div><div fr-original-style="" style="box-sizing: border-box;"><br fr-original-style="" style="box-sizing: border-box;"></div>I have the identify service working in the mapbook.  The service I am running into trouble with is the layer search service for 3.9.  In the demo mapbook I can do the drop down, and search for a parcel.  I need that search feature for my mapbooks.  In the code below my type is mapserver.  In the demo code for parcels the type is mapserver-wfs.  Mapserver-wfs is supported for the layer search feature but mapserver is not.  Do I need to change my shapefile so it is either a wfs or mapserver-wfs?  I hope I have explained better what I am trying to figure out.  Thanks.<div fr-original-style="" style="box-sizing: border-box;"><br fr-original-style="" style="box-sizing: border-box;"></div><div fr-original-style="" style="box-sizing: border-box;"><map-source name="cdcem" type="mapserver" title="CD Cemetery"><br fr-original-style="" style="box-sizing: border-box;"><file>./demo/castledale_cem/castledale.map</file><br fr-original-style="" style="box-sizing: border-box;"><param name="typename" value="ms:cdcem"/><br fr-original-style="" style="box-sizing: border-box;"><layer name="cdcem" selectable="true" title="CD Cemetery"><br fr-original-style="" style="box-sizing: border-box;"><template name="identify"><![CDATA[<br fr-original-style="" style="box-sizing: border-box;"><div><br fr-original-style="" style="box-sizing: border-box;">   <div class="feature-class cdcem"><h3>Grave Information</h3></div><br fr-original-style="" style="box-sizing: border-box;"><div class="item"><b>Name:</b> {{ properties.Deceased_1 }}</div><br fr-original-style="" style="box-sizing: border-box;">    <div class="item"><b>Birth Date:</b> {{ properties.Birth_Da_1 }}</div><br fr-original-style="" style="box-sizing: border-box;">    <div class="item"><b>Death Date:</b> {{ properties.Death_Da_1 }}</div><br fr-original-style="" style="box-sizing: border-box;"> </div><br fr-original-style="" style="box-sizing: border-box;">        ]]></template><br fr-original-style="" style="box-sizing: border-box;"><template name="search"><![CDATA[<br fr-original-style="" style="box-sizing: border-box;">                <div class="search-result"><br fr-original-style="" style="box-sizing: border-box;">                <div class="search-label">{{ properties.Lname }}</div><br fr-original-style="" style="box-sizing: border-box;">                <div class="search-action"><br fr-original-style="" style="box-sizing: border-box;"><div style="padding: 2px"><a onClick="app.zoomToExtent([{{ properties.boundedBy | join }}], 'EPSG:3857')" class="zoomto-link"><i class="fa fa-search"></i></a></div><br fr-original-style="" style="box-sizing: border-box;">                </div><br fr-original-style="" style="box-sizing: border-box;">                </div><br fr-original-style="" style="box-sizing: border-box;">            ]]></template><br fr-original-style="" style="box-sizing: border-box;"></layer><br fr-original-style="" style="box-sizing: border-box;"><param name="FORMAT" value="image/png"/><br fr-original-style="" style="box-sizing: border-box;"></map-source></div></div><div fr-original-style="" style="box-sizing: border-box;"><br fr-original-style="" style="box-sizing: border-box;"></div><div fr-original-class="gmail_quote" fr-original-style="" style="box-sizing: border-box;"><div dir="ltr" fr-original-class="gmail_attr" fr-original-style="" style="box-sizing: border-box;">On Thu, Sep 16, 2021 at 1:50 PM Brent Fraser <<a fr-original-style="" href="mailto:bfraser@geoanalytic.com" style="box-sizing: border-box; color: rgb(0, 102, 147); text-decoration: underline; user-select: auto;" target="_blank" rel="noopener noreferrer">bfraser@geoanalytic.com</a>> wrote:</div><blockquote fr-original-class="gmail_quote" fr-original-style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex;" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex; box-sizing: border-box; color: rgb(94, 53, 177);"><div fr-original-style="font-family:arial;font-size:14px;" style="font-family: arial; font-size: 14px; box-sizing: border-box;"><div fr-original-style="box-sizing:border-box;" id="gmail-m_-3806137726530225998isPasted" style="box-sizing:border-box;">Hi Clinton</div><div fr-original-style="box-sizing:border-box;" style="box-sizing:border-box;"><br style="box-sizing:border-box;" fr-original-style="box-sizing:border-box;"></div><div fr-original-style="box-sizing:border-box;" style="box-sizing:border-box;">  Do you mean the Identify (mouse click) service, or the Search service (type in attribute value)?</div><div fr-original-style="box-sizing:border-box;" style="box-sizing:border-box;"><br style="box-sizing:border-box;" fr-original-style="box-sizing:border-box;"></div><div fr-original-style="box-sizing:border-box;" style="box-sizing:border-box;">Best Regards,</div><div fr-original-style="box-sizing:border-box;" style="box-sizing:border-box;">Brent Fraser</div><div fr-original-style="box-sizing:border-box;" style="box-sizing:border-box;"><br style="box-sizing:border-box;" fr-original-style="box-sizing:border-box;"></div><div fr-original-style="box-sizing:border-box;" style="box-sizing:border-box;"><span fr-original-style="box-sizing:border-box;" style="box-sizing:border-box;"> </span></div><div fr-original-style="box-sizing:border-box;" style="box-sizing:border-box;"><br style="box-sizing:border-box;" fr-original-style="box-sizing:border-box;"></div><hr id="gmail-m_-3806137726530225998previousmessagehr" style="box-sizing: border-box; clear: both; user-select: none; break-after: page;" fr-original-style="box-sizing:border-box;clear:both;"><div fr-original-style="box-sizing:border-box;" style="box-sizing:border-box;"><span fr-original-style="box-sizing:border-box;" style="box-sizing:border-box;"><strong fr-original-style="box-sizing:border-box;font-weight:700;" style="box-sizing:border-box;font-weight:700;">From</strong>: "Clinton Olsen" <<a fr-original-style="" href="mailto:ClintonO@emery.utah.gov" style="box-sizing: border-box; color: rgb(0, 102, 147); text-decoration: underline; user-select: auto;" target="_blank" rel="noopener noreferrer">ClintonO@emery.utah.gov</a>><br style="box-sizing:border-box;" fr-original-style="box-sizing:border-box;"><strong fr-original-style="box-sizing:border-box;font-weight:700;" style="box-sizing:border-box;font-weight:700;">Sent</strong>: 9/16/21 1:17 PM<br style="box-sizing:border-box;" fr-original-style="box-sizing:border-box;"><strong fr-original-style="box-sizing:border-box;font-weight:700;" style="box-sizing:border-box;font-weight:700;">To</strong>: <a fr-original-style="" href="mailto:geomoose-users@lists.osgeo.org" style="box-sizing: border-box; color: rgb(0, 102, 147); text-decoration: underline; user-select: auto;" target="_blank" rel="noopener noreferrer">geomoose-users@lists.osgeo.org</a><br style="box-sizing:border-box;" fr-original-style="box-sizing:border-box;"><strong fr-original-style="box-sizing:border-box;font-weight:700;" style="box-sizing:border-box;font-weight:700;">Subject</strong>: [Geomoose-users] 3.x Layer Search Feature</span></div><div fr-original-style="box-sizing:border-box;" style="box-sizing:border-box;"><br style="box-sizing:border-box;" fr-original-style="box-sizing:border-box;"></div><div dir="ltr" fr-original-style="box-sizing:border-box;" style="box-sizing:border-box;">I am working on updating Geomoose from 2.9 to 3.8.  A problem I am running into is the layer search feature.  The search operations feature is only supported on vector, geojson, ags-vector, wfs and mapserver-wfs map-source type.  Do I need to do something different to the shapefiles I am using in order to get this feature to work, or just change the coding in the mapbook for it to work?  <div fr-original-style="box-sizing:border-box;" style="box-sizing:border-box;"><br style="box-sizing:border-box;" fr-original-style="box-sizing:border-box;"></div><div fr-original-style="box-sizing:border-box;" style="box-sizing:border-box;">Sample code:</div><div fr-original-style="box-sizing:border-box;" style="box-sizing:border-box;"><map-source name="bookpage" type="mapserver" title="Plat Info"><br style="box-sizing:border-box;" fr-original-style="box-sizing:border-box;"><file>./demo/book_page/book_page.map</file><br style="box-sizing:border-box;" fr-original-style="box-sizing:border-box;"><layer name="bookpage" status="off"><br style="box-sizing:border-box;" fr-original-style="box-sizing:border-box;"><template name="identify"><![CDATA[<br style="box-sizing:border-box;" fr-original-style="box-sizing:border-box;"><div><br style="box-sizing:border-box;" fr-original-style="box-sizing:border-box;">   <div class="feature-class bookpage"><h3>Emery County Plat Info</h3></div><br style="box-sizing:border-box;" fr-original-style="box-sizing:border-box;">    <div class="item"><b>Plat:</b> {{ properties.booktxt }}/{{ properties.pagetxt }}</div><br style="box-sizing:border-box;" fr-original-style="box-sizing:border-box;"></div></div><div fr-original-style="box-sizing:border-box;" style="box-sizing:border-box;">]]></template><br style="box-sizing:border-box;" fr-original-style="box-sizing:border-box;"></layer><br style="box-sizing:border-box;" fr-original-style="box-sizing:border-box;"><param name="FORMAT" value="image/png"/><br style="box-sizing:border-box;" fr-original-style="box-sizing:border-box;"></map-source></div><div fr-original-style="box-sizing:border-box;" style="box-sizing:border-box;"><div fr-original-style="box-sizing:border-box;" style="box-sizing:border-box;"><br style="box-sizing:border-box;" fr-original-style="box-sizing:border-box;"></div>--<br style="box-sizing:border-box;" fr-original-style="box-sizing:border-box;"><div dir="ltr" fr-original-style="box-sizing:border-box;" style="box-sizing:border-box;"><div dir="ltr" fr-original-style="box-sizing:border-box;" style="box-sizing:border-box;"><div dir="ltr" fr-original-style="font-family:arial;font-size:small;box-sizing:border-box;" style="font-family:arial;font-size:small;box-sizing:border-box;"><div fr-original-style="box-sizing:border-box;" style="box-sizing:border-box;">-- </div><div dir="ltr" fr-original-style="box-sizing:border-box;" style="box-sizing:border-box;">Clinton Olsen<div fr-original-style="box-sizing:border-box;" style="box-sizing:border-box;">IS/GIS Technician</div><div fr-original-style="box-sizing:border-box;" style="box-sizing:border-box;"><br style="box-sizing:border-box;" fr-original-style="box-sizing:border-box;"></div></div></div></div></div></div></div></div></blockquote></div><div fr-original-style="" style="box-sizing: border-box;"><br fr-original-style="" style="box-sizing: border-box;"></div><div fr-original-style="" style="box-sizing: border-box;"><br fr-original-style="" style="box-sizing: border-box;"></div><div fr-original-style="" style="box-sizing: border-box;">--</div><div dir="ltr" fr-original-class="gmail_signature" fr-original-style="" style="box-sizing: border-box;"><div dir="ltr" fr-original-style="" style="box-sizing: border-box;"><div dir="ltr" fr-original-style="font-family:arial;font-size:small;" style="font-family: arial; font-size: small; box-sizing: border-box;"><div fr-original-style="" style="box-sizing: border-box;">-- </div><div dir="ltr" fr-original-style="" style="box-sizing: border-box;">Clinton Olsen<div fr-original-style="" style="box-sizing: border-box;"><strong fr-original-style="" style="box-sizing: border-box; font-weight: 700;">EMERY COUNTY</strong></div><div fr-original-style="" style="box-sizing: border-box;">IS/GIS Technician</div><div fr-original-style="" style="box-sizing: border-box;">435-381-3592</div></div></div></div></div></div>