<?xml version="1.0" ?> <!-- See Enhanced Search Widget XML Configuration.pdf for detailed explanation --> <configuration> <layers> <layer> <token/> <definitionexpression></definitionexpression> <enableexport>true</enableexport> <name>Building Centroids</name> <url>http://152.46.17.82/arcgis/rest/services/surf_city/SurfCity/MapServer/0</url> <expressions> <expression alias="Address" textsearchlabel="Search for Parcel by Address:"> <values> <value prompt="Example: 123 S 3RD ST" uniquevalsfromfield="hadd" isvaluerequired="true" autosubmit="true">hadd = '[value]'</value> </values> </expression> <expression alias="Parcel ID" textsearchlabel="Search by Parcel ID:" isvaluerequired="true"> <values> <value prompt="Example: 2630" uniquevalsfromfield="id" >id = '[value]'</value> </values> </expression> </expressions> <!--graphicalsearchlabel>Use one of the graphical search tools to Search Parcels</graphicalsearchlabel --> <!--spatialsearchlayer>false</spatialsearchlayer--> <titlefield>hadd</titlefield> <fields all="false"> <field name="id" gridfield="true"/> <field name="hadd" gridfield="true"/> <field name="floors" gridfield="true"/> </fields> <links/> <zoomscale usegeometry="true" zoompercent="2"></zoomscale> <autoopendatagrid>true</autoopendatagrid> <queryattachments>true</queryattachments> <relates/> <symbology> <simplefillsymbol color="0xff0000" alpha="0.5"> <outline color="0xff0000" alpha="0.8" width="2" /> </simplefillsymbol> </symbology> </layer> </layers> <bufferunits> <bufferunit selected="true"> <name>UNIT_FOOT</name> <label>Feet</label> </bufferunit> <bufferunit> <name>UNIT_METER</name> <label>Meters</label> </bufferunit> </bufferunits> <buffervalue>10</buffervalue> <printdatagrid> <addheadertoeachpage>true</addheadertoeachpage> <columnheaderbgcolor>0xa7a7a7</columnheaderbgcolor> <columnheaderfontcolor>0x000000</columnheaderfontcolor> <footer> <pageoftext>Page ## of ##</pageoftext> <includeprintdate format="MM-DD-YYYY L:NN A">true</includeprintdate> <disclaimer></disclaimer><!-- be carefull of the length --> </footer> </printdatagrid> <keepgraphicalsearchenabled>true</keepgraphicalsearchenabled> <autozoomtoresults>true</autozoomtoresults> <popupsdisabled>false</popupsdisabled> <enabledatagridinteractionwithwidget>true</enabledatagridinteractionwithwidget> <toleranceforpointgraphicalselection>6</toleranceforpointgraphicalselection><!-- value is in screen pixels --> <tolerancebydefault>false</tolerancebydefault> <spatialreference>102100</spatialreference> <zoomscale>2400</zoomscale> <csvseparator>,</csvseparator> <disablebuttons></disablebuttons><!--possible values one or more not all four search types comma separated text,graphic,spatial,result,datagrid --> <defaultselectionoption>textInput</defaultselectionoption><!--possible values only one graphicalInput or textInput or spatialInput --> <enabledrawgraphicbutton>false</enabledrawgraphicbutton> <enablelocategraphicbutton>false</enablelocategraphicbutton> <enablebuffergraphicbutton>false</enablebuffergraphicbutton> <selectedgraphicaltool></selectedgraphicaltool><!-- possible values are extent or polygon or mappoint or polyline or nothing --> <multipartgraphicsearch>false</multipartgraphicsearch> <floatorfixed>fixed</floatorfixed><!-- possible values are fixed and float --> <relatetooltip>Show Relates</relatetooltip> <relateicon>widgets/eSearch/assets/images/i_relate.png</relateicon> <labels> <urlsearcherrormessage>URL search parameters are incorrect</urlsearcherrormessage> <includetextquery>include text query in selection criteria</includetextquery> <includetextquerywarn>Must be the same search layer in both graphical and text search pages.</includetextquerywarn> <buffergrapicprops>Buffer graphic properties</buffergrapicprops> <bufferusergraphics>Buffer Graphic</bufferusergraphics> <norelatesfound>No related features found for: </norelatesfound> <norelatesfoundalerttitle>No Results</norelatesfoundalerttitle> <addtolerance>Add search tolerance to point selection</addtolerance> <existingdrawgraphicslabel>Use Existing Enhanced Draw Widget Graphics</existingdrawgraphicslabel> <existinglocategraphicslabel>Use Existing Enhanced Locate Widget Graphics</existinglocategraphicslabel> <existingbuffergraphicslabel>Use Existing Point Buffer Widget Graphics</existingbuffergraphicslabel> <graphicalsearchlabel>Graphical Search</graphicalsearchlabel> <textsearchlabel>Text Search</textsearchlabel> <resultslabel>Results</resultslabel> <layerlabel>Search Layer:</layerlabel> <layerfieldlabel>Search Layer Field:</layerfieldlabel> <nolayerlabel>No search layer defined.</nolayerlabel> <submitlabel>Search</submitlabel> <rectanglelabel>Select by Rectangle</rectanglelabel> <polygonlabel>Select by Polygon</polygonlabel> <clearlabel>Clear</clearlabel> <loadinglabel>Loading...</loadinglabel> <selectionlabel>Features Selected:</selectionlabel> <gridresultslabel>Show Results in Grid</gridresultslabel> <csvdefaultname>Selected Records</csvdefaultname> <relatescsvdefaultname>Related Records</relatescsvdefaultname> <exportbtnlabel>Export...</exportbtnlabel> <export2csvoptionlabel>Export to CSV...</export2csvoptionlabel> <export2txtoptionlabel>Export to Txt...</export2txtoptionlabel> <bufferlabel>apply a search distance:</bufferlabel> <spatialsearchlabel>Spatial search</spatialsearchlabel> <applybufferlabel>Apply buffer</applybufferlabel> <searchlayerlabel>Search entities of:</searchlayerlabel> <enablemultipartsearch>enable multi-part graphics</enablemultipartsearch> <zoomalllabel>Zoom</zoomalllabel> <zoomalltip>Zoom to all results</zoomalltip> <bufferalpha>Fill opacity</bufferalpha> <buffercolor>Fill color</buffercolor> <nobuffercolor>No fill color</nobuffercolor> <bufferoutlinecolor>Outline color</bufferoutlinecolor> <nobufferoutlinecolor>No outline color</nobufferoutlinecolor> <bufferoutlinewidth>Outline Width</bufferoutlinewidth> <configbuffergra>Configure buffer graphic properties...</configbuffergra> <required>*</required> <requiredtooltip>This field is required. Enter a value to enable search button</requiredtooltip> <selectmethodtip>Click to change the selection method</selectmethodtip> <newselectionmethodtip>Create new selection</newselectionmethodtip> <addselectionmethodtip>Add to current selection</addselectionmethodtip> <removeselectionmethodtip>Remove from current selection</removeselectionmethodtip> </labels> <symbols> <simplefillsymbol color="0x00ffff" alpha="0.5"> <outline color="0xff0000" alpha="0.8" width="2" /> </simplefillsymbol> <!-- You can have one or the other, either simplemarkersymbol or picturemarkersymbol defined for your point results NOT BOTH. picturemarkersymbol will override simplemarkersymbol if you do not have it commented out. --> <!-- <simplemarkersymbol style="square" size="12" color="0xff0000" alpha="0.5" xoffset="0" yoffset="0" angle="0"> <outline style="solid" color="0x000000" alpha="1" width="1"/> </simplemarkersymbol> --> <picturemarkersymbol url="assets/images/i_search.png" height="30" width="30" xoffset="0" yoffset="0" /> <simplelinesymbol color="0xff0000" alpha="0.8" width="2" /> </symbols> </configuration>
Solved! Go to Solution.
<layer> <token/> <definitionexpression></definitionexpression> <enableexport>true</enableexport> <name>Building Centroids</name> <url>http://152.46.17.82/arcgis/rest/services/surf_city/SurfCity/MapServer/0</url> <expressions> <expression alias="Address" textsearchlabel="Search for Parcel by Address:"> <values> <value prompt="Example: 123 S 3RD ST" uniquevalsfromfield="hadd" isvaluerequired="true" autosubmit="true">hadd = '[value]'</value> </values> </expression> <expression alias="Parcel ID" textsearchlabel="Search by Parcel ID:" isvaluerequired="true"> <values> <value prompt="Example: 2630" uniquevalsfromfield="id" >id = '[value]'</value> </values> </expression> </expressions> <!--graphicalsearchlabel>Use one of the graphical search tools to Search Parcels</graphicalsearchlabel --> <!--spatialsearchlayer>false</spatialsearchlayer--> <titlefield>hadd</titlefield> <fields all="false"> <field name="id" gridfield="true"/> <field name="hadd" gridfield="true"/> <field name="floors" gridfield="true"/> </fields> <links/> <zoomscale usegeometry="true" zoompercent="2"></zoomscale> <autoopendatagrid>true</autoopendatagrid> <queryattachments>true</queryattachments> <relates/> <symbology> <simplefillsymbol color="0xff0000" alpha="0.5"> <outline color="0xff0000" alpha="0.8" width="2" /> </simplefillsymbol> </symbology> </layer>
<layer> <token/> <definitionexpression></definitionexpression> <enableexport>true</enableexport> <name>Building Centroids</name> <url>http://152.46.17.82/arcgis/rest/services/surf_city/SurfCity/MapServer/0</url> <expressions> <expression alias="Address" textsearchlabel="Search for Parcel by Address:"> <values> <value prompt="Example: 123 S 3RD ST" uniquevalsfromfield="hadd" isvaluerequired="true" autosubmit="true">hadd = '[value]'</value> </values> </expression> <expression alias="Parcel ID" textsearchlabel="Search by Parcel ID:" isvaluerequired="true"> <values> <value prompt="Example: 2630" uniquevalsfromfield="id" >id = '[value]'</value> </values> </expression> </expressions> <!--graphicalsearchlabel>Use one of the graphical search tools to Search Parcels</graphicalsearchlabel --> <!--spatialsearchlayer>false</spatialsearchlayer--> <titlefield>hadd</titlefield> <fields all="false"> <field name="id" gridfield="true"/> <field name="hadd" gridfield="true"/> <field name="floors" gridfield="true"/> </fields> <links/> <zoomscale usegeometry="true" zoompercent="2"></zoomscale> <autoopendatagrid>true</autoopendatagrid> <queryattachments>true</queryattachments> <relates/> <symbology> <simplefillsymbol color="0xff0000" alpha="0.5"> <outline color="0xff0000" alpha="0.8" width="2" /> </simplefillsymbol> </symbology> </layer>