<?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: Web AppBuilder LocalLayer Widget in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/web-appbuilder-locallayer-widget/m-p/768606#M1418</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; The fact that this error mentions OnScreenWidgetIcon.js tells me that you have not added this widget properly to WAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you add the widget to the config.json for your basic_viewer or default (i.e. [install dir]\client\stemapp\predefined-apps\default). It needs to be added to the widgetOnScreen and widgets array as noted in the readme.md "&lt;STRONG&gt;Setting up the Widget&lt;/STRONG&gt;" section. Once you have done this and create a new app then you will see the Local Layer widget in the widgets list in WAB and you do not need to add it to a on screen widget place holder like you have.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Preview.jpg" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/140771_Preview.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Nov 2015 14:09:26 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2015-11-09T14:09:26Z</dc:date>
    <item>
      <title>Web AppBuilder LocalLayer Widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/web-appbuilder-locallayer-widget/m-p/768605#M1417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have installed the LocalLayer widget which seems perfect for me to add some locally hosted dynamic maps within an app. I can configure the map to point at a local service successfully however when I try and use the button I get an error. I'm not sure if I have missed something in the configuration - it's the first time I've tried using web appbuilder with a custom widget?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TypeError: Failed to execute 'appendChild' on 'Node': parameter 1 is not of type 'Node'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at TypeError (native)&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at Object.b.place (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fjs.arcgis.com%2F3.14%2Finit.js%3A148%3A448" rel="nofollow" target="_blank"&gt;http://js.arcgis.com/3.14/init.js:148:448&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at declare.setPosition (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fws211%3A3344%2Fwebappbuilder%2Fapps%2F6%2Fjimu.js%2FBaseWidget.js%3A235%3A12" rel="nofollow" target="_blank"&gt;http://ws211:3344/webappbuilder/apps/6/jimu.js/BaseWidget.js:235:12&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at null.&amp;lt;anonymous&amp;gt; (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fws211%3A3344%2Fwebappbuilder%2Fapps%2F6%2Fjimu.js%2FOnScreenWidgetIcon.js%3A120%3A18" rel="nofollow" target="_blank"&gt;http://ws211:3344/webappbuilder/apps/6/jimu.js/OnScreenWidgetIcon.js:120:18&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fjs.arcgis.com%2F3.14%2Finit.js%3A167%3A296" rel="nofollow" target="_blank"&gt;http://js.arcgis.com/3.14/init.js:167:296&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Nov 2015 11:53:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/web-appbuilder-locallayer-widget/m-p/768605#M1417</guid>
      <dc:creator>DavidAdams7</dc:creator>
      <dc:date>2015-11-09T11:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: Web AppBuilder LocalLayer Widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/web-appbuilder-locallayer-widget/m-p/768606#M1418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; The fact that this error mentions OnScreenWidgetIcon.js tells me that you have not added this widget properly to WAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you add the widget to the config.json for your basic_viewer or default (i.e. [install dir]\client\stemapp\predefined-apps\default). It needs to be added to the widgetOnScreen and widgets array as noted in the readme.md "&lt;STRONG&gt;Setting up the Widget&lt;/STRONG&gt;" section. Once you have done this and create a new app then you will see the Local Layer widget in the widgets list in WAB and you do not need to add it to a on screen widget place holder like you have.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Preview.jpg" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/140771_Preview.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Nov 2015 14:09:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/web-appbuilder-locallayer-widget/m-p/768606#M1418</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-11-09T14:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: Web AppBuilder LocalLayer Widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/web-appbuilder-locallayer-widget/m-p/768607#M1419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for the prompt reply - I re-looked at the instructions and added the lines and it now works. It's not quite what I wanted as my colleague I was working for, wanted an in-panel widget which he could click to add the operational layers after initially going into the app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Nov 2015 15:35:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/web-appbuilder-locallayer-widget/m-p/768607#M1419</guid>
      <dc:creator>DavidAdams7</dc:creator>
      <dc:date>2015-11-09T15:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: Web AppBuilder LocalLayer Widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/web-appbuilder-locallayer-widget/m-p/768608#M1420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; For that there is a widget called "Add Service"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/docs/DOC-6263"&gt;Add Service Widget 1.1.3&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Nov 2015 15:39:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/web-appbuilder-locallayer-widget/m-p/768608#M1420</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-11-09T15:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: Web AppBuilder LocalLayer Widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/web-appbuilder-locallayer-widget/m-p/768609#M1421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I grabbed the Add service widget and it's perfect for what I needed. Again many thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Nov 2015 16:36:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/web-appbuilder-locallayer-widget/m-p/768609#M1421</guid>
      <dc:creator>DavidAdams7</dc:creator>
      <dc:date>2015-11-09T16:36:27Z</dc:date>
    </item>
  </channel>
</rss>

