<?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: Problem with LayerList widget in Web AppBuilder in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/problem-with-layerlist-widget-in-web-appbuilder/m-p/874361#M13368</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;At ArcGIS Server v3.0 immutable layer ids are available.&amp;nbsp; This means you can assign an ID to a layer and any new layers will get a higher ID, but the IDs already assigned will not be changed even if you add a layer above existing layers.&amp;nbsp; I think this should help out to make your workflow easier.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Aug 2015 21:49:06 GMT</pubDate>
    <dc:creator>MichaelVolz</dc:creator>
    <dc:date>2015-08-04T21:49:06Z</dc:date>
    <item>
      <title>Problem with LayerList widget in Web AppBuilder</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/problem-with-layerlist-widget-in-web-appbuilder/m-p/874360#M13367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an mxd that I enable to allow assignment of unique numeric IDs for map service publishing. This way when I add a new layer to the mxd and re-publish my indexing stay the same and my queries in the query widget will not have to be changed every time I add a layer to the service. When I do this I finding some issues with they LayerList widget where either the layers don't appear in the widget list or they appear but they are not checked appropriately for the default visibility. Has anyone else experienced an issue with allowing assignment of unique numeric IDs for map service publishing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 17:32:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/problem-with-layerlist-widget-in-web-appbuilder/m-p/874360#M13367</guid>
      <dc:creator>DavidYarnell</dc:creator>
      <dc:date>2015-08-04T17:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with LayerList widget in Web AppBuilder</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/problem-with-layerlist-widget-in-web-appbuilder/m-p/874361#M13368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;At ArcGIS Server v3.0 immutable layer ids are available.&amp;nbsp; This means you can assign an ID to a layer and any new layers will get a higher ID, but the IDs already assigned will not be changed even if you add a layer above existing layers.&amp;nbsp; I think this should help out to make your workflow easier.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 21:49:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/problem-with-layerlist-widget-in-web-appbuilder/m-p/874361#M13368</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2015-08-04T21:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with LayerList widget in Web AppBuilder</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/problem-with-layerlist-widget-in-web-appbuilder/m-p/874362#M13369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm experiencing this same issue. Some groups within my layerlist don't expand. Other layers don't become visible when checked and throw&amp;nbsp; "Cannot read property 'parentLayerId' of undefined". The error exists in the jimu.js/LayerInfos/LayerInfoForDefaultDynamic.js:100. It's too bad because I assumed ESRI added this functionality in it's REST endpoint so developers wouldn't have to reconfigure queries, and other functionality each time any layer changes to mainly support Web AppBuilder development. Does anyone know how to resolve this issue? I can't even use the assignment of unique numeric IDS, it's not compatible with WAB. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2015 23:33:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/problem-with-layerlist-widget-in-web-appbuilder/m-p/874362#M13369</guid>
      <dc:creator>RyanStrain</dc:creator>
      <dc:date>2015-11-04T23:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with LayerList widget in Web AppBuilder</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/problem-with-layerlist-widget-in-web-appbuilder/m-p/874363#M13370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm having the same problems. Trying to get this to work so I don't have to re-assign layer IDs in various places in WAB code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error I'm getting occurs at line 100 in LayerInfoForDefaultDynamic.js :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14472830154137145" data-renderedposition="92_8_912_16" jivemacro_uid="_14472830154137145"&gt;&lt;P&gt;if (objLayerInfos[currentId].parentLayerId === -1) {&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I reorder the layers in a map service, the value of currentId matches the unique numeric ID I have set in the MXD before publishing. If I have 10 layers, for example, and add an 11th layer between layers 3 and 4, the value of currentId is 11. In the objLayerInfos array, however, index 11 still refers to the last layer in the map service (which would have the unique sub layer id 10) instead of the 4th layer in the map service. I think this is where the problem is happening, but I'm not sure how it could be resolved, or if similar problems are being caused elsewhere.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Nov 2015 23:21:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/problem-with-layerlist-widget-in-web-appbuilder/m-p/874363#M13370</guid>
      <dc:creator>MaxMcCosham</dc:creator>
      <dc:date>2015-11-11T23:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with LayerList widget in Web AppBuilder</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/problem-with-layerlist-widget-in-web-appbuilder/m-p/874364#M13371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: Helvetica, sans-serif;"&gt;Sorry for any inconvenience caused, this is a bug of WAB and had been fixed by online3.10 (released on Nov 17), &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: Helvetica, sans-serif;"&gt;BUG-000090820 The Layer List widget in Web AppBuilder for ArcGIS fails to list the layers for an ArcGIS Server service containing a group layer with a custom numeric ID&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Helvetica, sans-serif;"&gt;Developer Edition fix it in v1.3 (&lt;/SPAN&gt;will release in this month&lt;SPAN style="font-family: Helvetica, sans-serif;"&gt;).&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2015 02:30:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/problem-with-layerlist-widget-in-web-appbuilder/m-p/874364#M13371</guid>
      <dc:creator>XiaodongWang</dc:creator>
      <dc:date>2015-12-04T02:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with LayerList widget in Web AppBuilder</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/problem-with-layerlist-widget-in-web-appbuilder/m-p/874365#M13372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the update! I would like to implement this fix in an app built using WAB 1.2, as I'm not yet ready to update the entire app to WAB 1.3. Would replacing the jimu.js/LayerInfos folder in v1.2 with the updated code from v1.3 cause problems?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2015 17:15:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/problem-with-layerlist-widget-in-web-appbuilder/m-p/874365#M13372</guid>
      <dc:creator>MaxMcCosham</dc:creator>
      <dc:date>2015-12-04T17:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with LayerList widget in Web AppBuilder</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/problem-with-layerlist-widget-in-web-appbuilder/m-p/874366#M13373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just to second Max, I would also like to know if there is a way to implement a 1.2 fix as I'm not yet ready to update the entire app to WAB DE 1.3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We would be extremely greatful!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2015 17:06:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/problem-with-layerlist-widget-in-web-appbuilder/m-p/874366#M13373</guid>
      <dc:creator>DanNorman</dc:creator>
      <dc:date>2015-12-15T17:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with LayerList widget in Web AppBuilder</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/problem-with-layerlist-widget-in-web-appbuilder/m-p/874367#M13374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the suggestion, Max.&amp;nbsp; I tried this and it appears to have fixed the behavior of one layer in particular that I was having issues with and hadn't yet reset the layerIDs.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anybody else have positive/negative experience updating particular pieces of their apps from the 1.3 release to take advantage of bug fixes without restarting their apps from scratch with 1.3?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jan 2016 15:41:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/problem-with-layerlist-widget-in-web-appbuilder/m-p/874367#M13374</guid>
      <dc:creator>DavidMann1</dc:creator>
      <dc:date>2016-01-08T15:41:09Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with LayerList widget in Web AppBuilder</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/problem-with-layerlist-widget-in-web-appbuilder/m-p/874368#M13375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;I have been testing this as well and it seems to be working with services with custom layer IDs that are not in order. I'm not seeing any problems yet, but I would still be interested in finding out if replacing the LayerInfos can cause problems.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Jan 2016 00:24:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/problem-with-layerlist-widget-in-web-appbuilder/m-p/874368#M13375</guid>
      <dc:creator>MaxMcCosham</dc:creator>
      <dc:date>2016-01-16T00:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with LayerList widget in Web AppBuilder</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/problem-with-layerlist-widget-in-web-appbuilder/m-p/874369#M13376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where do you assign the id's? - Thanks, Meg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jan 2016 15:35:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/problem-with-layerlist-widget-in-web-appbuilder/m-p/874369#M13376</guid>
      <dc:creator>MegPeterson</dc:creator>
      <dc:date>2016-01-19T15:35:25Z</dc:date>
    </item>
  </channel>
</rss>

