<?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: LocalLayer Widget not working in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/locallayer-widget-not-working/m-p/785192#M3516</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do not have the default2D folder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the modification that I made in the cofig.json file in the client\stemapp\predefined-apps\default\config.json file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"widgetOnScreen": {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "widgets": [{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "uri": "widgets/LocalLayer/Widget",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "visible": true&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Jun 2015 21:39:48 GMT</pubDate>
    <dc:creator>DanielStoelb</dc:creator>
    <dc:date>2015-06-26T21:39:48Z</dc:date>
    <item>
      <title>LocalLayer Widget not working</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/locallayer-widget-not-working/m-p/785189#M3513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All, &lt;/P&gt;&lt;P&gt;I just installed WAB 1.1 Developer Edition and went through the instructions for loading the custom widget, however a few things popped up:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. There is no \client\builder\predefined-apps\default2DApp\ folder.&amp;nbsp; I did find a config.json file in client\stemapp\predefined-apps\default so I added the code to this file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. I can load the widget and connect to my services, but once I have them added, nothing is actually added to the map.&amp;nbsp; So there is very clearly something still wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone had this issue, or know what I could be doing wrong?&amp;nbsp; I don't have a proxy as my services are not secured, and are actually on the same test machine as the WAB.&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, 26 Jun 2015 21:23:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/locallayer-widget-not-working/m-p/785189#M3513</guid>
      <dc:creator>LeahSaunders</dc:creator>
      <dc:date>2015-06-26T21:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: LocalLayer Widget not working</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/locallayer-widget-not-working/m-p/785190#M3514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Leah,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You might want to check out this post for details: &lt;A href="https://community.esri.com/migration-blogpost/2481"&gt;Tips for using the custom LocalLayer widget with WAB-Dev edition&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems to me the issue is related to where you added the widget in your json code. I documented how I did the install, which is working for me.&amp;nbsp; Here are the details:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL style="list-style-type: disc;"&gt;&lt;LI&gt;This widget updates the interface to allow for local layers to be added into the system&lt;UL style="list-style-type: circle;"&gt;&lt;LI&gt;Tips and tricks for implementation can be found here: &lt;A _jive_internal="true" href="https://community.esri.com/blogs/myAlaskaGIS/2015/02/04/tips-for-using-the-custom-locallayer-widget-with-wab-dev-edition"&gt;https://community.esri.com/blogs/myAlaskaGIS/2015/02/04/tips-for-using-the-custom-locallayer-widget-with-wab-dev-edition&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;Must click the visibility icon to make it applicable within the application&lt;/LI&gt;&lt;LI&gt;References to the widget must be added manually into the config.json file&lt;UL style="list-style-type: disc;"&gt;&lt;LI&gt;§ Make sure visible=true&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Two changes are needed within the client\stemapp\jimu.js\LayerInfos\LayerInfoForMapService.js file:&lt;UL style="list-style-type: disc;"&gt;&lt;LI&gt;§ For version 1.1 Line 450 should be changed from:&lt;UL style="list-style-type: disc;"&gt;&lt;LI&gt;var url = this.originOperLayer.url + '/' + subId;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;§ To:&lt;UL style="list-style-type: disc;"&gt;&lt;LI&gt;var url = this.originOperLayer.layerObject.url + '/' + subId;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;§ for v1.1 And line 423 should be changed from:&lt;UL style="list-style-type: disc;"&gt;&lt;LI&gt;var url = this.originOperLayer.url + '/layers';&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;§ To:&lt;UL style="list-style-type: disc;"&gt;&lt;LI&gt;var url = this.originOperLayer.layerObject.url + '/layers';&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2015 21:32:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/locallayer-widget-not-working/m-p/785190#M3514</guid>
      <dc:creator>DanielStoelb</dc:creator>
      <dc:date>2015-06-26T21:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: LocalLayer Widget not working</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/locallayer-widget-not-working/m-p/785191#M3515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/113895_Capture.JPG" style="width: 620px; height: 312px;" /&gt;&lt;/P&gt;&lt;P&gt;I did all of this and read through the document.&amp;nbsp; Do you have that default2D folder in your directory?&lt;/P&gt;&lt;P&gt;This is where I found the config...since there was no pre-defined apps folder in my other location:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture2.JPG" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/113896_Capture2.JPG" style="width: 620px; height: 167px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2015 21:36:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/locallayer-widget-not-working/m-p/785191#M3515</guid>
      <dc:creator>LeahSaunders</dc:creator>
      <dc:date>2015-06-26T21:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: LocalLayer Widget not working</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/locallayer-widget-not-working/m-p/785192#M3516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do not have the default2D folder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the modification that I made in the cofig.json file in the client\stemapp\predefined-apps\default\config.json file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"widgetOnScreen": {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "widgets": [{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "uri": "widgets/LocalLayer/Widget",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "visible": true&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2015 21:39:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/locallayer-widget-not-working/m-p/785192#M3516</guid>
      <dc:creator>DanielStoelb</dc:creator>
      <dc:date>2015-06-26T21:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: LocalLayer Widget not working</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/locallayer-widget-not-working/m-p/785193#M3517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay, I re-did everything and it is working now!!!&amp;nbsp; Thanks for the very quick reply!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2015 21:42:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/locallayer-widget-not-working/m-p/785193#M3517</guid>
      <dc:creator>LeahSaunders</dc:creator>
      <dc:date>2015-06-26T21:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: LocalLayer Widget not working</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/locallayer-widget-not-working/m-p/785194#M3518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No problem!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2015 21:44:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/locallayer-widget-not-working/m-p/785194#M3518</guid>
      <dc:creator>DanielStoelb</dc:creator>
      <dc:date>2015-06-26T21:44:21Z</dc:date>
    </item>
  </channel>
</rss>

