<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SearchWidget in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/searchwidget/m-p/550106#M15805</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thank you robert and zufelt for your helps&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;it's solved&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Apr 2013 17:16:56 GMT</pubDate>
    <dc:creator>lifeEsri</dc:creator>
    <dc:date>2013-04-24T17:16:56Z</dc:date>
    <item>
      <title>SearchWidget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/searchwidget/m-p/550098#M15797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have this error when executing my searchWidget&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]23736[/ATTACH]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 12:04:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/searchwidget/m-p/550098#M15797</guid>
      <dc:creator>lifeEsri</dc:creator>
      <dc:date>2013-04-24T12:04:54Z</dc:date>
    </item>
    <item>
      <title>Re: SearchWidget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/searchwidget/m-p/550099#M15798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;life Esri,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; You need to verify your field names and the SQL of your where clause.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 12:08:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/searchwidget/m-p/550099#M15798</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2013-04-24T12:08:28Z</dc:date>
    </item>
    <item>
      <title>Re: SearchWidget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/searchwidget/m-p/550100#M15799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;life Esri,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; You need to verify your field names and the SQL of your where clause.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think all is ok but no result &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;this my filds of first layer(accidents):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]23737[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and this my searchWidget.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;

&amp;lt;?xml version="1.0" ?&amp;gt;
&amp;lt;configuration label="Louisville Parcels and Police"&amp;gt;
&amp;lt;layers&amp;gt;
&amp;lt;layer&amp;gt;
&amp;lt;name&amp;gt;accidents&amp;lt;/name&amp;gt;
&amp;lt;url&amp;gt;http://localhost:6080/arcgis/rest/services/SIGMALOGITEC/servicetest/MapServer/0&amp;lt;/url&amp;gt;
&amp;lt;expression&amp;gt;accident like '[value]'&amp;lt;/expression&amp;gt;
&amp;lt;textsearchlabel&amp;gt;Search by Parcel ID [ Example: 181001490000 or 1810%]&amp;lt;/textsearchlabel&amp;gt;
&amp;lt;titlefield&amp;gt;accident&amp;lt;/titlefield&amp;gt;
&amp;lt;linkfield&amp;gt;&amp;lt;/linkfield&amp;gt;
&amp;lt;fields all="false"&amp;gt;
&amp;lt;field name="accident" alias="accident"/&amp;gt;
&amp;lt;/fields&amp;gt;
&amp;lt;/layer&amp;gt;
&amp;lt;layer&amp;gt;
&amp;lt;name&amp;gt;arrandissement&amp;lt;/name&amp;gt;
&amp;lt;url&amp;gt;http://localhost:6080/arcgis/rest/services/SIGMALOGITEC/servicetest/MapServer/1&amp;lt;/url&amp;gt;
&amp;lt;expression&amp;gt;objectid like '[value]'&amp;lt;/expression&amp;gt;
&amp;lt;textsearchlabel&amp;gt;Search by Parcel ID [ Example: 181001490000 or 1810%]&amp;lt;/textsearchlabel&amp;gt;
&amp;lt;titlefield&amp;gt;objectid&amp;lt;/titlefield&amp;gt;
&amp;lt;linkfield&amp;gt;&amp;lt;/linkfield&amp;gt;
&amp;lt;fields all="false"&amp;gt;
&amp;lt;field name="objectid"/&amp;gt;
&amp;lt;/fields&amp;gt;
&amp;lt;/layer&amp;gt;
&amp;lt;/layers&amp;gt;
&amp;lt;zoomscale&amp;gt;10000&amp;lt;/zoomscale&amp;gt;
&amp;lt;/configuration&amp;gt;

&amp;lt;!--
See Search widget tag reference at
http://links.esri.com/searchwidget
--&amp;gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 23:48:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/searchwidget/m-p/550100#M15799</guid>
      <dc:creator>lifeEsri</dc:creator>
      <dc:date>2021-12-11T23:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: SearchWidget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/searchwidget/m-p/550101#M15800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;NB: when i use arcGis Server 10 all is ok but when i try to use ArcGis Server 10.1 i have this problem&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;some help please &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and thank in advance&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 13:48:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/searchwidget/m-p/550101#M15800</guid>
      <dc:creator>lifeEsri</dc:creator>
      <dc:date>2013-04-24T13:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: SearchWidget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/searchwidget/m-p/550102#M15801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;some one is here!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a time constraint i need your help please&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 14:43:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/searchwidget/m-p/550102#M15801</guid>
      <dc:creator>lifeEsri</dc:creator>
      <dc:date>2013-04-24T14:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: SearchWidget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/searchwidget/m-p/550103#M15802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Your accidents field is numerical so your SQL should not have single quotes. This is all basic GIS stuff.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 14:57:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/searchwidget/m-p/550103#M15802</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2013-04-24T14:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: SearchWidget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/searchwidget/m-p/550104#M15803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Your accidents field is numerical so your SQL should not have single quotes. This is all basic GIS stuff.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Robert thank you for you help &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but no result &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think i must to check something in the publication of my service in arcgisserver (Query is already checked)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in arcgisServer 10 it work's correctly but in 10.1 no results&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 15:07:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/searchwidget/m-p/550104#M15803</guid>
      <dc:creator>lifeEsri</dc:creator>
      <dc:date>2013-04-24T15:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: SearchWidget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/searchwidget/m-p/550105#M15804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;

&amp;lt;?xml version="1.0" ?&amp;gt;
&amp;lt;configuration label="Louisville Parcels and Police"&amp;gt;
&amp;lt;layers&amp;gt;
&amp;lt;layer&amp;gt;
&amp;lt;name&amp;gt;accidents&amp;lt;/name&amp;gt;
&amp;lt;url&amp;gt;http://localhost:6080/arcgis/rest/services/SIGMALOGITEC/servicetest/MapServer/0&amp;lt;/url&amp;gt;
&amp;lt;expression&amp;gt;accident = [value]&amp;lt;/expression&amp;gt;
&amp;lt;textsearchlabel&amp;gt;Search by Parcel ID [ Example: 181001490000 or 1810%]&amp;lt;/textsearchlabel&amp;gt;
&amp;lt;titlefield&amp;gt;accident&amp;lt;/titlefield&amp;gt;
&amp;lt;linkfield&amp;gt;&amp;lt;/linkfield&amp;gt;
&amp;lt;fields all="false"&amp;gt;
&amp;lt;field name="accident" alias="accident"/&amp;gt;
&amp;lt;/fields&amp;gt;
&amp;lt;/layer&amp;gt;
&amp;lt;layer&amp;gt;
&amp;lt;name&amp;gt;arrandissement&amp;lt;/name&amp;gt;
&amp;lt;url&amp;gt;http://localhost:6080/arcgis/rest/services/SIGMALOGITEC/servicetest/MapServer/1&amp;lt;/url&amp;gt;
&amp;lt;expression&amp;gt;objectid = [value]&amp;lt;/expression&amp;gt;
&amp;lt;textsearchlabel&amp;gt;Search by Parcel ID [ Example: 181001490000 or 1810%]&amp;lt;/textsearchlabel&amp;gt;
&amp;lt;titlefield&amp;gt;objectid&amp;lt;/titlefield&amp;gt;
&amp;lt;linkfield&amp;gt;&amp;lt;/linkfield&amp;gt;
&amp;lt;fields all="false"&amp;gt;
&amp;lt;field name="objectid"/&amp;gt;
&amp;lt;/fields&amp;gt;
&amp;lt;/layer&amp;gt;
&amp;lt;/layers&amp;gt;
&amp;lt;zoomscale&amp;gt;10000&amp;lt;/zoomscale&amp;gt;
&amp;lt;/configuration&amp;gt;
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You are searching a number field, so as Robert pointed out, you need to remove the quotes. Also, LIKE looks for some matching operator (normally % depending on data source) and does not appear to work with number fields (at least not in ArcMap). You can query for a range of numbers, but not LIKE with wildcards.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;R_&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 16:37:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/searchwidget/m-p/550105#M15804</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2021-12-12T16:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: SearchWidget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/searchwidget/m-p/550106#M15805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thank you robert and zufelt for your helps&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;it's solved&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 17:16:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/searchwidget/m-p/550106#M15805</guid>
      <dc:creator>lifeEsri</dc:creator>
      <dc:date>2013-04-24T17:16:56Z</dc:date>
    </item>
  </channel>
</rss>

