<?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: FeatureLayer definition expression in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/featurelayer-definition-expression/m-p/222341#M5243</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Robert, that did the trick. I don't think I would have figured that one out in a million years.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Feb 2011 20:56:31 GMT</pubDate>
    <dc:creator>JustinRiggs</dc:creator>
    <dc:date>2011-02-14T20:56:31Z</dc:date>
    <item>
      <title>FeatureLayer definition expression</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/featurelayer-definition-expression/m-p/222339#M5241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm attempting to recreate this example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/samples/index.html?sample=FeatureLayer_MouseOver_Snapshot"&gt;http://help.arcgis.com/en/webapi/flex/samples/index.html?sample=FeatureLayer_MouseOver_Snapshot&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;using the source code for the FlexViewer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I added the feature layer like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;operationallayers&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&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="Counties" type="feature" visible="true" alpha=".8"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&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; url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/3" rel="nofollow" target="_blank"&gt;http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/3&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&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="STATE_NAME='South Carolina'" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/operationallayers&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in my config.xml file, but the definition expression isn't working. It's just grabbing all the counties in the country and displaying them all at once.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I looked in the MapManager.mxml file, and it looked to me like you can set the definitionExpression property, but maybe I'm wrong. Can anyone point me in the right direction here?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Justin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Feb 2011 19:33:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/featurelayer-definition-expression/m-p/222339#M5241</guid>
      <dc:creator>JustinRiggs</dc:creator>
      <dc:date>2011-02-14T19:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer definition expression</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/featurelayer-definition-expression/m-p/222340#M5242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Justin,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; I can see where you thought that based on what you say in the MapManager the attribute was called definitionExpression, but it is actually all lower case &lt;/SPAN&gt;&lt;STRONG style="color: &amp;quot;Lime&amp;quot;;"&gt;definitionexpression&lt;/STRONG&gt;&lt;SPAN&gt; you have to look the concept page and layer tag for the viewer: &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapps/flexviewer/help/layer_tag.htm" rel="nofollow"&gt;http://help.arcgis.com/en/webapps/flexviewer/help/layer_tag.htm&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Feb 2011 19:53:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/featurelayer-definition-expression/m-p/222340#M5242</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2011-02-14T19:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer definition expression</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/featurelayer-definition-expression/m-p/222341#M5243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Robert, that did the trick. I don't think I would have figured that one out in a million years.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Feb 2011 20:56:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/featurelayer-definition-expression/m-p/222341#M5243</guid>
      <dc:creator>JustinRiggs</dc:creator>
      <dc:date>2011-02-14T20:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer definition expression</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/featurelayer-definition-expression/m-p/222342#M5244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just a general comment - all the tags and properties that you specify in the xml files are lowercase. So while it's good to look at the documentation, as for the casing, all the tags are all lowercase &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Feb 2011 21:21:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/featurelayer-definition-expression/m-p/222342#M5244</guid>
      <dc:creator>BjornSvensson</dc:creator>
      <dc:date>2011-02-15T21:21:27Z</dc:date>
    </item>
  </channel>
</rss>

