<?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: Search Widget Expressions in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/search-widget-expressions/m-p/280480#M8427</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Robert,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That's great thanks. But if you wanted to preset the value:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So rather than have a value that the client has to input, then could I not use this to find bulding types that have attribute values of "Appartment"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;BUILDINGTYPE like '[Apartment]%'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Walter&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Mar 2014 16:16:21 GMT</pubDate>
    <dc:creator>WalterDziuba</dc:creator>
    <dc:date>2014-03-18T16:16:21Z</dc:date>
    <item>
      <title>Search Widget Expressions</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/search-widget-expressions/m-p/280478#M8425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there a definitive reference manual that describes how to use the expression builder when you're trying to use&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the search widget?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; As an example, I'm trying to get this to run, but I keep getting a yellow triangle with an exclamation point indicating something is wrong with my expression.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;BUILDINGTYPE like '[Apartment]'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Walter&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 14:50:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/search-widget-expressions/m-p/280478#M8425</guid>
      <dc:creator>WalterDziuba</dc:creator>
      <dc:date>2014-03-18T14:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: Search Widget Expressions</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/search-widget-expressions/m-p/280479#M8426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Walter,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;your expression should look like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;BUILDINGTYPE like '[value]%'&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The widget will always replace the [value] with what the user types in the input box.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When using a like expression you normally will want to specify a wild character such as the % symbol.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As far as a manual you knowing what to type... No there is not one. It is just basic SQL query syntax.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;From the documentation:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Tip:'[value]'&amp;nbsp; is a literal value that needs to be specified in the expression. The&amp;nbsp; apostrophe's are needed if working with string values.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 15:21:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/search-widget-expressions/m-p/280479#M8426</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2014-03-18T15:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: Search Widget Expressions</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/search-widget-expressions/m-p/280480#M8427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Robert,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That's great thanks. But if you wanted to preset the value:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So rather than have a value that the client has to input, then could I not use this to find bulding types that have attribute values of "Appartment"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;BUILDINGTYPE like '[Apartment]%'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Walter&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 16:16:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/search-widget-expressions/m-p/280480#M8427</guid>
      <dc:creator>WalterDziuba</dc:creator>
      <dc:date>2014-03-18T16:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: Search Widget Expressions</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/search-widget-expressions/m-p/280481#M8428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Walter,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Sure just do not use the square brackets: App builder will continue to give you a warning (I think) but you can just ignore it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;BUILDINGTYPE like 'Apartment%'&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 16:52:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/search-widget-expressions/m-p/280481#M8428</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2014-03-18T16:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: Search Widget Expressions</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/search-widget-expressions/m-p/280482#M8429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Robert,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Didn't realize that my BUILDINGTYPE was a domain with only coded values. So to use the word "Apartment" made no sense to Flex. But when I changed the value to "2" which equals Apartments, it worked like a charm.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again.....Walter&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 17:52:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/search-widget-expressions/m-p/280482#M8429</guid>
      <dc:creator>WalterDziuba</dc:creator>
      <dc:date>2014-03-18T17:52:03Z</dc:date>
    </item>
  </channel>
</rss>

