<?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: Dynamic Layer's visibleLayers property bug in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-layer-s-visiblelayers-property-bug/m-p/429464#M10037</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Bjorn,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am experiencing the same issue w/ Flex Viewer 2.3.&amp;nbsp; Here's a screenshot.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;IMG src="http://content.screencast.com/users/MikeHaggerty/folders/Jing/media/9c6f3d79-4235-4933-bba3-d2af34ddeec6/2011-04-21_1353.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Apr 2011 17:03:12 GMT</pubDate>
    <dc:creator>MichaelHaggerty</dc:creator>
    <dc:date>2011-04-21T17:03:12Z</dc:date>
    <item>
      <title>Dynamic Layer's visibleLayers property bug</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-layer-s-visiblelayers-property-bug/m-p/429461#M10034</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'm having trouble displaying this map service in the out-of-the-box 2.2 Flex Viewer: &lt;/SPAN&gt;&lt;A href="http://secure.sterling-heights.net:32457/ArcGIS/rest/services/GIS_Maps/City_Utilities_Map/MapServer" rel="nofollow noopener noreferrer" target="_blank"&gt;http://secure.sterling-heights.net:32457/ArcGIS/rest/services/GIS_Maps/City_Utilities_Map/MapServer&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The service consists of one layer group that contains two child layers.&amp;nbsp; Here is a clip of the map service's REST interface:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;"layers": [
&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; "id": 0,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "name": "Street Lights",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "parentLayerId": -1,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "defaultVisibility": false,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "subLayerIds": [
&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; 1,
&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; 2
&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "id": 1,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "name": "Street Lights OH Feed",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "parentLayerId": 0,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "defaultVisibility": true,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "subLayerIds": null
&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; "id": 2,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "name": "Street Lights UG Feed",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "parentLayerId": 0,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "defaultVisibility": true,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "subLayerIds": null
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
]&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The behavior that I'm seeing in the default out-of-the-box Flex Viewer 2.2 is as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;OL&gt;&lt;BR /&gt;&lt;LI&gt;Click checkbox next to each child layer&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Click checkbox next to layer group&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Click checkbox next to dynamic layer name&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;No features are displayed on map&lt;/LI&gt;&lt;BR /&gt;&lt;/OL&gt;&lt;BR /&gt;&lt;SPAN&gt;However, if only one of the child layers is turned on, then you can see that layer's features.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's a couple screenshots of the problem:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://www.screencast.com/users/MikeHaggerty/folders/Jing/media/e6cb6f8d-2036-4bf4-ad4c-74412ceef2aa" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.screencast.com/users/MikeHaggerty/folders/Jing/media/e6cb6f8d-2036-4bf4-ad4c-74412ceef2aa&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.screencast.com/users/MikeHaggerty/folders/Jing/media/ecacdbe3-d733-497f-8b8c-07bbe21ecb26" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.screencast.com/users/MikeHaggerty/folders/Jing/media/ecacdbe3-d733-497f-8b8c-07bbe21ecb26&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When debugging the application, I can see the visibleLayers property of the target layer being set correctly to [1,2] on line 115 of com.esri.viewer.components.toc.tocClasses.TocMapLayerItem.refreshLayer() after the layer group is turned on and both child layers are on.&amp;nbsp; However, when inspecting the Export Map operation URL, I notice that there is no layers URL param: &lt;/SPAN&gt;&lt;A href="http://secure.sterling-heights.net:32457/ArcGIS/rest/services/GIS_Maps/City_Utilities_Map/MapServer/export?transparent=true&amp;amp;bboxSR=102100&amp;amp;bbox=-9269993%2E386872891%2C5237626%2E597380719%2C-9217786%2E896554187%2C5259028%2E96530054&amp;amp;dpi=96&amp;amp;format=png8&amp;amp;f=image&amp;amp;imageSR=102100&amp;amp;size=1366%2C560" rel="nofollow noopener noreferrer" target="_blank"&gt;http://secure.sterling-heights.net:32457/ArcGIS/rest/services/GIS_Maps/City_Utilities_Map/MapServer/export?transparent=true&amp;amp;bboxSR=102100&amp;amp;bbox=-9269993%2E386872891%2C5237626%2E597380719%2C-9217786%2E896554187%2C5259028%2E96530054&amp;amp;dpi=96&amp;amp;format=png8&amp;amp;f=image&amp;amp;imageSR=102100&amp;amp;size=1366%2C560&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I manually manipulate the Export Map operation URL to include "layers=show:1,2", then the image is rendered just fine: &lt;/SPAN&gt;&lt;A href="http://secure.sterling-heights.net:32457/ArcGIS/rest/services/GIS_Maps/City_Utilities_Map/MapServer/export?transparent=true&amp;amp;bboxSR=102100&amp;amp;bbox=-9269993%2E386872891%2C5237626%2E597380719%2C-9217786%2E896554187%2C5259028%2E96530054&amp;amp;dpi=96&amp;amp;format=png8&amp;amp;f=image&amp;amp;imageSR=102100&amp;amp;size=1366%2C560&amp;amp;layers=show:1,2" rel="nofollow noopener noreferrer" target="_blank"&gt;http://secure.sterling-heights.net:32457/ArcGIS/rest/services/GIS_Maps/City_Utilities_Map/MapServer/export?transparent=true&amp;amp;bboxSR=102100&amp;amp;bbox=-9269993%2E386872891%2C5237626%2E597380719%2C-9217786%2E896554187%2C5259028%2E96530054&amp;amp;dpi=96&amp;amp;format=png8&amp;amp;f=image&amp;amp;imageSR=102100&amp;amp;size=1366%2C560&amp;amp;layers=show:1,2&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;By the way, I've tested this map service on ArcGIS.com, and it works fine.&amp;nbsp; Here's a map w/ this layer setup already: &lt;/SPAN&gt;&lt;A href="http://www.arcgis.com/home/webmap/viewer.html?webmap=adbf558f561c4c21a537dc0b70537673" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.arcgis.com/home/webmap/viewer.html?webmap=adbf558f561c4c21a537dc0b70537673&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any help you can offer!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 19:19:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-layer-s-visiblelayers-property-bug/m-p/429461#M10034</guid>
      <dc:creator>MichaelHaggerty</dc:creator>
      <dc:date>2021-12-11T19:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Layer's visibleLayers property bug</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-layer-s-visiblelayers-property-bug/m-p/429462#M10035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This&amp;nbsp; should be fixed in version 2.3 that we released today.&lt;/SPAN&gt;&lt;BR /&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt;Turning grouped layers on/off work as expected. (from the "What's New)&lt;/LI&gt;&lt;BR /&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2011 19:02:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-layer-s-visiblelayers-property-bug/m-p/429462#M10035</guid>
      <dc:creator>BjornSvensson</dc:creator>
      <dc:date>2011-04-15T19:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Layer's visibleLayers property bug</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-layer-s-visiblelayers-property-bug/m-p/429463#M10036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks, Bjorn.&amp;nbsp; I should have remembered that from the holistic testing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you know of any workarounds to this problem that have been used before the API bug fix in case upgrading the API from 1.x isn't feasible?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;p.s. Congrats on the 2.3 release!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Apr 2011 14:23:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-layer-s-visiblelayers-property-bug/m-p/429463#M10036</guid>
      <dc:creator>MichaelHaggerty</dc:creator>
      <dc:date>2011-04-16T14:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Layer's visibleLayers property bug</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-layer-s-visiblelayers-property-bug/m-p/429464#M10037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Bjorn,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am experiencing the same issue w/ Flex Viewer 2.3.&amp;nbsp; Here's a screenshot.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;IMG src="http://content.screencast.com/users/MikeHaggerty/folders/Jing/media/9c6f3d79-4235-4933-bba3-d2af34ddeec6/2011-04-21_1353.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2011 17:03:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-layer-s-visiblelayers-property-bug/m-p/429464#M10037</guid>
      <dc:creator>MichaelHaggerty</dc:creator>
      <dc:date>2011-04-21T17:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Layer's visibleLayers property bug</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-layer-s-visiblelayers-property-bug/m-p/429465#M10038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Mike, what does the REST requests look like?&amp;nbsp; Is there anything "funky" with the map service? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp; Does the service work in other applications? Can you try running your app on the webserver (i.e. &lt;/SPAN&gt;&lt;A href="http://."&gt;http://.&lt;/A&gt;&lt;SPAN&gt;..) instead of the file system?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2011 19:19:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-layer-s-visiblelayers-property-bug/m-p/429465#M10038</guid>
      <dc:creator>BjornSvensson</dc:creator>
      <dc:date>2011-04-21T19:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Layer's visibleLayers property bug</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-layer-s-visiblelayers-property-bug/m-p/429466#M10039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I tested the map service using agslib-2.3-2011-04-14 and the TOC from the latest flexviewer-2.3.&amp;nbsp; It behaved as Mike H. described above.&amp;nbsp; Note:&amp;nbsp; the map service group layer 0 defaultVisibility=false.&amp;nbsp; The two child layer's (1,2) defaultVisiblity=true.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In my test I added another map service (&lt;/SPAN&gt;&lt;A href="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer"&gt;service B&lt;/A&gt;&lt;SPAN&gt;) containing a group layer.&amp;nbsp; I did not find the same behaviour when toggling the TOC layers of service B.&amp;nbsp; Service B's group layer defaultVisibility=true as are the child layers.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To test, can you either:&lt;/SPAN&gt;&lt;BR /&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt;Set the defaultVisiblity=true on group layer 0 &lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Set child layers 1 and 2 defaultVisibility=false.&lt;/LI&gt;&lt;BR /&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Apr 2011 02:25:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-layer-s-visiblelayers-property-bug/m-p/429466#M10039</guid>
      <dc:creator>MichaelDoolen</dc:creator>
      <dc:date>2011-04-22T02:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Layer's visibleLayers property bug</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-layer-s-visiblelayers-property-bug/m-p/429467#M10040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Bjorn,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The REST request looks like the URL that I pasted above.&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://secure.sterling-heights.net:32457/ArcGIS/rest/services/GIS_Maps/City_Utilities_Map/MapServer/export?transparent=true&amp;amp;bboxSR=102100&amp;amp;bbox=-9269993%2E386872891%2C5237626%2E597380719%2C-9217786%2E896554187%2C5259028%2E96530054&amp;amp;dpi=96&amp;amp;format=png8&amp;amp;f=image&amp;amp;imageSR=102100&amp;amp;size=1366%2C560"&gt;http://secure.sterling-heights.net:32457/ArcGIS/rest/services/GIS_Maps/City_Utilities_Map/MapServer/export?transparent=true&amp;amp;bboxSR=102100&amp;amp;bbox=-9269993%2E386872891%2C5237626%2E597380719%2C-9217786%2E896554187%2C5259028%2E96530054&amp;amp;dpi=96&amp;amp;format=png8&amp;amp;f=image&amp;amp;imageSR=102100&amp;amp;size=1366%2C560&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have placed the Flex Viewer configured w/ this layer out in my dropbox public directory.&amp;nbsp; I won't assure that this link will work for all time and eternity, but it should for the next few weeks at least. &lt;/SPAN&gt;&lt;A href="http://dl.dropbox.com/u/14170337/sh-issue-april-2011/index.html"&gt;http://dl.dropbox.com/u/14170337/sh-issue-april-2011/index.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help with this!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Apr 2011 16:44:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-layer-s-visiblelayers-property-bug/m-p/429467#M10040</guid>
      <dc:creator>MichaelHaggerty</dc:creator>
      <dc:date>2011-04-22T16:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Layer's visibleLayers property bug</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-layer-s-visiblelayers-property-bug/m-p/429468#M10041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;A href="http://dl.dropbox.com/u/14170337/sh-issue-april-2011/index.html"&gt;http://dl.dropbox.com/u/14170337/sh-issue-april-2011/index.html&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;httpfox shows a 404 error for &lt;/SPAN&gt;&lt;A href="http://secure.sterling-heights.net:32457/crossdomain.xml"&gt;http://secure.sterling-heights.net:32457/crossdomain.xml&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, using the Adobe Flash Player debug version, I get the following error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SecurityError: Error #2048: Security sandbox violation: &lt;/SPAN&gt;&lt;A href="http://dl.dropbox.com/u/14170337/sh-issue-april-2011/index.swf"&gt;http://dl.dropbox.com/u/14170337/sh-issue-april-2011/index.swf&lt;/A&gt;&lt;SPAN&gt; cannot load data from &lt;/SPAN&gt;&lt;A href="http://secure.sterling-heights.net:32457/ArcGIS/rest/services/GIS_Maps/City_Utilities_Map/MapServer?f=json"&gt;http://secure.sterling-heights.net:32457/ArcGIS/rest/services/GIS_Maps/City_Utilities_Map/MapServer?f=json&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Try adding a crossdomain.xml file on your ArcGIS Server machine and see if that helps &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>Fri, 22 Apr 2011 16:55:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-layer-s-visiblelayers-property-bug/m-p/429468#M10041</guid>
      <dc:creator>BjornSvensson</dc:creator>
      <dc:date>2011-04-22T16:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Layer's visibleLayers property bug</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-layer-s-visiblelayers-property-bug/m-p/429469#M10042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Michael,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; Strange I can get this url to work:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="http://secure.sterling-heights.net:32457/ArcGIS/rest/services/GIS_Maps/City_Utilities_Map/MapServer/export?transparent=true&amp;amp;layers=show%3A1%2C2&amp;amp;format=png8&amp;amp;f=image&amp;amp;imageSR=102100&amp;amp;bbox=-9289512.54711874%2C5216880.1702721305%2C-9191673.150913848%2C5285520.6216721255&amp;amp;dpi=96&amp;amp;bboxSR=102100&amp;amp;size=1280%2C898" rel="nofollow" target="_blank"&gt;http://secure.sterling-heights.net:32457/ArcGIS/rest/services/GIS_Maps/City_Utilities_Map/MapServer/export?transparent=true&amp;amp;layers=show%3A1%2C2&amp;amp;format=png8&amp;amp;f=image&amp;amp;imageSR=102100&amp;amp;bbox=-9289512.54711874%2C5216880.1702721305%2C-9191673.150913848%2C5285520.6216721255&amp;amp;dpi=96&amp;amp;bboxSR=102100&amp;amp;size=1280%2C898&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe the API team will know why the request is not coming back the way that they are sending it from the API.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Apr 2011 17:17:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-layer-s-visiblelayers-property-bug/m-p/429469#M10042</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2011-04-22T17:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Layer's visibleLayers property bug</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-layer-s-visiblelayers-property-bug/m-p/429470#M10043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;@bjorn,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am not seeing the same 404 as you.&amp;nbsp; See attachment #1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;@rscheitlin,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, adding the layers query param to the URL will export the image.&amp;nbsp; The problem is that the API is not adding that query param to the URL.&amp;nbsp; See attachment #2.&amp;nbsp; How did you get that URL above?&amp;nbsp; Did you manually add the &amp;amp;layers=show%3A1%2C2 part, or is that how the Flex API constructed the URL?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2011 15:40:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-layer-s-visiblelayers-property-bug/m-p/429470#M10043</guid>
      <dc:creator>MichaelHaggerty</dc:creator>
      <dc:date>2011-04-25T15:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Layer's visibleLayers property bug</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-layer-s-visiblelayers-property-bug/m-p/429471#M10044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Michael,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Yes I manually added it just to test that there was not any issue with the actual service.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2011 18:42:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-layer-s-visiblelayers-property-bug/m-p/429471#M10044</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2011-04-25T18:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Layer's visibleLayers property bug</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-layer-s-visiblelayers-property-bug/m-p/429472#M10045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;FYI -- the workaround we had the client implement was to set the defaultVisibility of the parent layer group to true in ArcMap.&amp;nbsp; This bug only presents when the layer group's defaultVisibility is set to false.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2011 13:40:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-layer-s-visiblelayers-property-bug/m-p/429472#M10045</guid>
      <dc:creator>MichaelHaggerty</dc:creator>
      <dc:date>2011-06-29T13:40:02Z</dc:date>
    </item>
  </channel>
</rss>

