<?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: layerDefinitions in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/layerdefinitions/m-p/643825#M14328</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Eric,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; There is no where in the documentation that states that the definition query you have in ArcMap is carried over to the ArcGISDynamicMapServiceLayer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/layers/ArcGISDynamicMapServiceLayer.html"&gt;http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/layers/ArcGISDynamicMapServiceLayer.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Array of layer definition expressions that allows you to filter the features of individual layers in the exported map image.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The array elements may either be a LayerDefinition or a String where the array index represents the layer ID.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Definition expressions for layers that are currently not visible will be ignored by the server.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is for applying layerDefinitions on the Flex side.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Dec 2012 11:30:34 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2012-12-07T11:30:34Z</dc:date>
    <item>
      <title>layerDefinitions</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/layerdefinitions/m-p/643824#M14327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; I work with AGS 9.3.1 and AGS lib 2.5.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; I see that my default layerDefinitions array in my ArcGISDynamicMapServiceLayer is not automatically filled with the default values from the server. Is that normal?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; And if I call the getAllDetails method, all LayerDetails object have a LayerDefinition to null. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you explain this please?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks a lot&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2012 06:47:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/layerdefinitions/m-p/643824#M14327</guid>
      <dc:creator>ericgoueffon</dc:creator>
      <dc:date>2012-12-07T06:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: layerDefinitions</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/layerdefinitions/m-p/643825#M14328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Eric,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; There is no where in the documentation that states that the definition query you have in ArcMap is carried over to the ArcGISDynamicMapServiceLayer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/layers/ArcGISDynamicMapServiceLayer.html"&gt;http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/layers/ArcGISDynamicMapServiceLayer.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Array of layer definition expressions that allows you to filter the features of individual layers in the exported map image.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The array elements may either be a LayerDefinition or a String where the array index represents the layer ID.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Definition expressions for layers that are currently not visible will be ignored by the server.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is for applying layerDefinitions on the Flex side.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2012 11:30:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/layerdefinitions/m-p/643825#M14328</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-12-07T11:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: layerDefinitions</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/layerdefinitions/m-p/643826#M14329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thank you,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; I'm ok with you, but with the getDetails method we get a layerDetails, and the definition of definitionExpression is : &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;definitionExpression : String&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The definition expression of the layer as specified in the Service Directory.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;what is it used for please, or maybe it's working on 10.0?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For you, the only way to have this information is to send a HTTPrequest on a rest layer url with "?json" parameter?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thank you again,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2012 11:49:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/layerdefinitions/m-p/643826#M14329</guid>
      <dc:creator>ericgoueffon</dc:creator>
      <dc:date>2012-12-07T11:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: layerDefinitions</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/layerdefinitions/m-p/643827#M14330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Eric,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; In ArcGIS Server 10 I get the Definition Expression.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size:3;"&gt;&lt;STRONG&gt;Layer: Point Symbology (ID: 2)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;STRONG&gt;Display Field:&lt;/STRONG&gt;&lt;SPAN&gt; SymDesc&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Type:&lt;/STRONG&gt;&lt;SPAN&gt; Feature&amp;nbsp; Layer&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Geometry Type:&lt;/STRONG&gt;&lt;SPAN&gt; esriGeometryPoint&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Description:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Definition Expression:&lt;/STRONG&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color:#ff0000;"&gt;NOT SymDesc = 'Arrow Marker&amp;nbsp; Symbol'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Copyright Text:&lt;/STRONG&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Min. Scale:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp; 0&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Max. Scale:&lt;/STRONG&gt;&lt;SPAN&gt; 0&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Default Visibility:&lt;/STRONG&gt;&lt;SPAN&gt; True&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2012 12:58:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/layerdefinitions/m-p/643827#M14330</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-12-07T12:58:19Z</dc:date>
    </item>
  </channel>
</rss>

