Hello,
In using the eSearch widget to find address and APN fields, both are strings, I'm coming up with different search capabilities. When I run the query on the internal server address everything works fine, results and queries can be run on both text and numerical info. When I run it on the public url address I am able to perform the search if I type only the street name but not if I include the street number with the street name and the APN search is no longer working. I get error message 2032. Could this have something to do with numerical values in a string field?
<layer>
<token/>
<definitionexpression/>
<name>Parcel Address</name>
<url>http://gismaps.buttecounty.net/arcgis/rest/services/BCDataSearch/MapServer/2</url>
<expressions>
<expression alias="Address" extsearchlabel="Search Parcel Addresses">
<values>
<value prompt="Address: Ex. 49 Maxwell St or Maxwell St " isvaluerequired="false">SITUS LIKE ('%[value]%')</value>
</values>
</expression>
</expressions>
<graphicalsearchlabel>Use one of the graphical search tools to select addresses</graphicalsearchlabel>
<spatialsearchlayer>true</spatialsearchlayer>
<titlefield>SITUS</titlefield>
<fields all="false">
<field name="APN" alias="APN" gridfield="true"/>
<field name="SITUS" alias="Situs" gridfield="true"/>
<field name="TRA_NUM" alias="TRA Number" gridfield="true"/>
<field name="Jurisdictn" alias="Jurisdiction" gridfield="true"/>
<field name="GP" alias="General Plan" gridfield="true"/>
<field name="Zone" alias="Zone" gridfield="true"/>
<field name="SplitZone" alias="Split Zone" gridfield="true"/>
<field name="SupName" alias="Supervisor" gridfield="true"/>
<field name="Acres" alias="Approx. Acres (Use as reference only)" gridfield="true"/>
</fields>
Thanks,
Lacey
In using the eSearch widget to find address and APN fields, both are strings, I'm coming up with different search capabilities. When I run the query on the internal server address everything works fine, results and queries can be run on both text and numerical info. When I run it on the public url address I am able to perform the search if I type only the street name but not if I include the street number with the street name and the APN search is no longer working. I get error message 2032. Could this have something to do with numerical values in a string field?
<layer>
<token/>
<definitionexpression/>
<name>Parcel Address</name>
<url>http://gismaps.buttecounty.net/arcgis/rest/services/BCDataSearch/MapServer/2</url>
<expressions>
<expression alias="Address" extsearchlabel="Search Parcel Addresses">
<values>
<value prompt="Address: Ex. 49 Maxwell St or Maxwell St " isvaluerequired="false">SITUS LIKE ('%[value]%')</value>
</values>
</expression>
</expressions>
<graphicalsearchlabel>Use one of the graphical search tools to select addresses</graphicalsearchlabel>
<spatialsearchlayer>true</spatialsearchlayer>
<titlefield>SITUS</titlefield>
<fields all="false">
<field name="APN" alias="APN" gridfield="true"/>
<field name="SITUS" alias="Situs" gridfield="true"/>
<field name="TRA_NUM" alias="TRA Number" gridfield="true"/>
<field name="Jurisdictn" alias="Jurisdiction" gridfield="true"/>
<field name="GP" alias="General Plan" gridfield="true"/>
<field name="Zone" alias="Zone" gridfield="true"/>
<field name="SplitZone" alias="Split Zone" gridfield="true"/>
<field name="SupName" alias="Supervisor" gridfield="true"/>
<field name="Acres" alias="Approx. Acres (Use as reference only)" gridfield="true"/>
</fields>
Thanks,
Lacey