<?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: What SQL conditions does the sublayer definitionexpression recognize? in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/what-sql-conditions-does-the-sublayer/m-p/45922#M2001</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Never mind, LIKE and NOT LIKE appear to work!&amp;nbsp; I must have missed a quotation mark.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Nov 2012 18:05:47 GMT</pubDate>
    <dc:creator>AndrewEdmonds</dc:creator>
    <dc:date>2012-11-13T18:05:47Z</dc:date>
    <item>
      <title>What SQL conditions does the sublayer definitionexpression recognize?</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/what-sql-conditions-does-the-sublayer/m-p/45921#M2000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What SQL conditions does the sublayer definitionexpression in the config file recognize?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried LIKE, NOT LIKE, &amp;lt;&amp;gt;, and != to no avail.&amp;nbsp; I get a 1095 syntax parsing error on some on these.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2012 17:46:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/what-sql-conditions-does-the-sublayer/m-p/45921#M2000</guid>
      <dc:creator>AndrewEdmonds</dc:creator>
      <dc:date>2012-11-13T17:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: What SQL conditions does the sublayer definitionexpression recognize?</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/what-sql-conditions-does-the-sublayer/m-p/45922#M2001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Never mind, LIKE and NOT LIKE appear to work!&amp;nbsp; I must have missed a quotation mark.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2012 18:05:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/what-sql-conditions-does-the-sublayer/m-p/45922#M2001</guid>
      <dc:creator>AndrewEdmonds</dc:creator>
      <dc:date>2012-11-13T18:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: What SQL conditions does the sublayer definitionexpression recognize?</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/what-sql-conditions-does-the-sublayer/m-p/45923#M2002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Andrew,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just for info if you ever need to do so in the future, you cannot use &amp;lt; and &amp;gt; in the config file as these are reserved for the opening and closing of tags. You need to use &amp;amp;lt; and &amp;amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anthony&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2012 18:11:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/what-sql-conditions-does-the-sublayer/m-p/45923#M2002</guid>
      <dc:creator>AnthonyGiles</dc:creator>
      <dc:date>2012-11-13T18:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: What SQL conditions does the sublayer definitionexpression recognize?</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/what-sql-conditions-does-the-sublayer/m-p/45924#M2003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks, Anthony.&amp;nbsp; That's useful info.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2012 18:19:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/what-sql-conditions-does-the-sublayer/m-p/45924#M2003</guid>
      <dc:creator>AndrewEdmonds</dc:creator>
      <dc:date>2012-11-13T18:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: What SQL conditions does the sublayer definitionexpression recognize?</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/what-sql-conditions-does-the-sublayer/m-p/45925#M2004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This works:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;layer label="WastePoints" type="feature" visible="true" alpha="0.3"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; definitionexpression="PHOTOS LIKE '%100D63_01.jpg'"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; url="http://gis01.wch-rcc.com/ArcGIS/rest/services/rkz/waste_images/MapServer/0"/&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;other example for the same layer that work:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;definitionexpression="PHOTOS IS NULL"

definitionexpression="PHOTOS = '100D63_01.jpg' "

definitionexpression="PHOTOS IS NOT NULL"
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Basically the same coding as ArcMap but, you need to set it equal to definitionexpression and remember to include the single quotes if not comparing NULL(s)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;also, this post shows how to code it for "dynamic" layers:&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/64884-Popups-on-multiple-copies-of-same-service-layer?p=248918#post248918" rel="nofollow noopener noreferrer" target="_blank"&gt;http://forums.arcgis.com/threads/64884-Popups-on-multiple-copies-of-same-service-layer?p=248918#post248918&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;R_&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 21:47:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/what-sql-conditions-does-the-sublayer/m-p/45925#M2004</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2021-12-10T21:47:28Z</dc:date>
    </item>
  </channel>
</rss>

