<?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 Feature Layer and Definition Expression in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/feature-layer-and-definition-expression/m-p/566568#M16187</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Within a Flex APP. Building a definition Expression from user into and tying it together is no big deal. I would like to do this in the Flex Viewer. How do I send the user input from my widger to a featurelayer within the Config.xml?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Mar 2011 18:38:07 GMT</pubDate>
    <dc:creator>PaulLang</dc:creator>
    <dc:date>2011-03-08T18:38:07Z</dc:date>
    <item>
      <title>Feature Layer and Definition Expression</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/feature-layer-and-definition-expression/m-p/566568#M16187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Within a Flex APP. Building a definition Expression from user into and tying it together is no big deal. I would like to do this in the Flex Viewer. How do I send the user input from my widger to a featurelayer within the Config.xml?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2011 18:38:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/feature-layer-and-definition-expression/m-p/566568#M16187</guid>
      <dc:creator>PaulLang</dc:creator>
      <dc:date>2011-03-08T18:38:07Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Layer and Definition Expression</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/feature-layer-and-definition-expression/m-p/566569#M16188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Looks like you posted this in two threads by mistake. My reply:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can either:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Use the QueryWidget (&lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapps/flexviewer/help/widgets/query_widget.htm"&gt;http://help.arcgis.com/en/webapps/flexviewer/help/widgets/query_widget.htm&lt;/A&gt;&lt;SPAN&gt;) and use the preload="open" tag to show a subset of a map service when the map loads, rather than just adding it as an operational layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Or, if using a feature layer, use the definitionexpression attribute as specified here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapps/flexviewer/help/layer_tag.htm"&gt;http://help.arcgis.com/en/webapps/flexviewer/help/layer_tag.htm&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2011 18:51:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/feature-layer-and-definition-expression/m-p/566569#M16188</guid>
      <dc:creator>JonFisher</dc:creator>
      <dc:date>2011-03-08T18:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Layer and Definition Expression</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/feature-layer-and-definition-expression/m-p/566570#M16189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; I can preset using this in the config:&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;lt;layer label="NeighborhoodbyBldgQualityCode" type="feature" visible="false" alpha="1" definitionexpression="NBHDNUM='5b097'"&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; url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://gcgis/ArcGIS/rest/services/Monthly/NeighborhoodbyBldgQualityCode/MapServer/0" rel="nofollow" target="_blank"&gt;http://gcgis/ArcGIS/rest/services/Monthly/NeighborhoodbyBldgQualityCode/MapServer/0&lt;/A&gt;&lt;SPAN&gt;" /&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I send the NBHDNUM='5b097' from my user input into the config.xml?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;private function doSearchBldgQualityCode():void&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NeighborhoodbyBldgQualityCode.definitionExpression = "NBHDNUM&amp;nbsp; ='" + qTextBldgQualityCode.text + "'";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2011 19:32:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/feature-layer-and-definition-expression/m-p/566570#M16189</guid>
      <dc:creator>PaulLang</dc:creator>
      <dc:date>2011-03-08T19:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Layer and Definition Expression</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/feature-layer-and-definition-expression/m-p/566571#M16190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I created this widget when trying to work out the same thing, hopefully it will help you out with what you want to do.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Shannaka&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2011 22:44:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/feature-layer-and-definition-expression/m-p/566571#M16190</guid>
      <dc:creator>ShannakaBeveridge</dc:creator>
      <dc:date>2011-03-08T22:44:11Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Layer and Definition Expression</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/feature-layer-and-definition-expression/m-p/566572#M16191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Thank you so much&lt;/STRONG&gt;&lt;SPAN&gt;, this helps me understand the communication process and gets the definition expression working.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2011 12:02:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/feature-layer-and-definition-expression/m-p/566572#M16191</guid>
      <dc:creator>PaulLang</dc:creator>
      <dc:date>2011-03-09T12:02:53Z</dc:date>
    </item>
  </channel>
</rss>

