<?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: Multiple copies of widget in builder in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/multiple-copies-of-widget-in-builder/m-p/350660#M9334</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Richard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Can you use a console.info(this.map); to check if you are in the proper scope to get access to the map?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Jan 2016 12:56:30 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2016-01-22T12:56:30Z</dc:date>
    <item>
      <title>Multiple copies of widget in builder</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/multiple-copies-of-widget-in-builder/m-p/350645#M9319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I am making a start on widget development, and have developed and deployed a widget after several false starts. After a false start attempting to deploy a faulty widget, I removed the widget folder from the widgets parent folder, corrected the problem, and then replaced it. I now have four copies of this widget in the builder. Two have an icon (one is a copy) and the other two do not respond and have no icon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I clean this up by removing unnecessary or duplicate widgets?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2016 21:35:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/multiple-copies-of-widget-in-builder/m-p/350645#M9319</guid>
      <dc:creator>RichardMacNeill1</dc:creator>
      <dc:date>2016-01-13T21:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple copies of widget in builder</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/multiple-copies-of-widget-in-builder/m-p/350646#M9320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Richard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Go into the [install dir]\server\db folder and delete the repoitems file. The file will be automatically re-created and the errant widgets should not appear any more.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2016 21:57:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/multiple-copies-of-widget-in-builder/m-p/350646#M9320</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-01-13T21:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple copies of widget in builder</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/multiple-copies-of-widget-in-builder/m-p/350647#M9321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Robert.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've found the file alongside a newly created apps file. At what point does is the file recreated? Do I need to restart anything?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2016 22:48:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/multiple-copies-of-widget-in-builder/m-p/350647#M9321</guid>
      <dc:creator>RichardMacNeill1</dc:creator>
      <dc:date>2016-01-13T22:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple copies of widget in builder</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/multiple-copies-of-widget-in-builder/m-p/350648#M9322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Richard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; It will be re-created once you restart WAB (meaning close out the cmd window and re-launch the bat file).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2016 23:17:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/multiple-copies-of-widget-in-builder/m-p/350648#M9322</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-01-13T23:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple copies of widget in builder</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/multiple-copies-of-widget-in-builder/m-p/350649#M9323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;UNCLASSIFIED&lt;/P&gt;&lt;P&gt;Thanks yet again Robert.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The file has reappeared when I redeployed the Widget. However, I am not seeing this deployed widget among the available widgets in my app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Richard MacNeill | SENIOR GEOSPATIAL SPECIALIST&lt;/P&gt;&lt;P&gt;National Native Title Tribunal | Geospatial Services&lt;/P&gt;&lt;P&gt;Level 10, Commonwealth Law Courts Building, 305 William Street, Melbourne, Victoria 3000&lt;/P&gt;&lt;P&gt;Telephone (03) 9920 3001 | Facsimile (03) 9606 0680 | Email richard.macneill@nntt.gov.au&amp;lt;mailto:richard.macneill@nntt.gov.au&amp;gt;&lt;/P&gt;&lt;P&gt;Freecall 1800 640 501 | www.nntt.gov.au&amp;lt;http://www.nntt.gov.au/&amp;gt;&lt;/P&gt;&lt;P&gt;Shared country, shared future.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2016 23:27:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/multiple-copies-of-widget-in-builder/m-p/350649#M9323</guid>
      <dc:creator>RichardMacNeill1</dc:creator>
      <dc:date>2016-01-13T23:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple copies of widget in builder</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/multiple-copies-of-widget-in-builder/m-p/350650#M9324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Richard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; If you are saying that your custom widget is not appearing in the list of available widget once you have deleted the repoitems file then you have an issue in your manifest.json or widget.js that is preventing it from being added. you can check the appbuilder.log in the [install dir]\server\logs folder and see if there is a clue there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2016 23:31:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/multiple-copies-of-widget-in-builder/m-p/350650#M9324</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-01-13T23:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple copies of widget in builder</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/multiple-copies-of-widget-in-builder/m-p/350651#M9325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;UNCLASSIFIED&lt;/P&gt;&lt;P&gt;Thanks Robert. I'll persevere.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2016 23:35:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/multiple-copies-of-widget-in-builder/m-p/350651#M9325</guid>
      <dc:creator>RichardMacNeill1</dc:creator>
      <dc:date>2016-01-13T23:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple copies of widget in builder</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/multiple-copies-of-widget-in-builder/m-p/350652#M9326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Richard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; If you like I can take a look. All you need to do is zip-up the whole widget folder and attach to a thread using the advanced editor and attach link.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2016 23:37:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/multiple-copies-of-widget-in-builder/m-p/350652#M9326</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-01-13T23:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple copies of widget in builder</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/multiple-copies-of-widget-in-builder/m-p/350653#M9327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;UNCLASSIFIED&lt;/P&gt;&lt;P&gt;Thanks Robert&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have taken the liberty of attaching the zipped file folder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm  a newby at this (at least the widget side of things), so the attached is the most simple of widgets basically saying hello. It is identical to that which was visible before the file removal (which I have a backup of).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did see that there is another file is the server/db folder - apps - that seems also to be recreated. Should I delete this also?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2016 23:45:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/multiple-copies-of-widget-in-builder/m-p/350653#M9327</guid>
      <dc:creator>RichardMacNeill1</dc:creator>
      <dc:date>2016-01-13T23:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple copies of widget in builder</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/multiple-copies-of-widget-in-builder/m-p/350654#M9328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;UNCLASSIFIED&lt;/P&gt;&lt;P&gt;Bad news I'm afraid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I replaced the copy of the repoitems file that I had removed and redeployed my widget. Then restarted the WebApp builder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when I edit an app, my Theme tab is empty and there are no available widgets at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is clearly a more serious problem but may involve a simple link. Do you have any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jan 2016 00:16:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/multiple-copies-of-widget-in-builder/m-p/350654#M9328</guid>
      <dc:creator>RichardMacNeill1</dc:creator>
      <dc:date>2016-01-14T00:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple copies of widget in builder</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/multiple-copies-of-widget-in-builder/m-p/350655#M9329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;UNCLASSIFIED&lt;/P&gt;&lt;P&gt;Apologies Robert. All is good and all themes and widgets are visible. The problem was on our side. Your advice has been extremely useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Richard MacNeill | SENIOR GEOSPATIAL SPECIALIST&lt;/P&gt;&lt;P&gt;Geospatial Services | Melbourne&lt;/P&gt;&lt;P&gt;Telephone: (03) 9920 3001&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jan 2016 01:51:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/multiple-copies-of-widget-in-builder/m-p/350655#M9329</guid>
      <dc:creator>RichardMacNeill1</dc:creator>
      <dc:date>2016-01-14T01:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple copies of widget in builder</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/multiple-copies-of-widget-in-builder/m-p/350656#M9330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;Richard,&lt;/P&gt;&lt;P class=""&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp; Glad it worked. Don't forget to mark the thread as answered.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jan 2016 02:01:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/multiple-copies-of-widget-in-builder/m-p/350656#M9330</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-01-14T02:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple copies of widget in builder</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/multiple-copies-of-widget-in-builder/m-p/350657#M9331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;UNCLASSIFIED&lt;/P&gt;&lt;P&gt;Many thanks for your previous assistance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you help me here? I'm a new user attempting to get my head around Widgets and Javascript. I'm trying to add a layer to test further script, and am encountering a problem (see code below).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function below is accessed, so that my first two alerts respond. However, the "map.addLayer( ) command does respond and I receive no final  alert. Is there something straightforward that I'm not getting? Commenting out the mode: and outfields: makes no difference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                                alert("Adding Layer");&lt;/P&gt;&lt;P&gt;                                require(["esri/map","esri/layers/FeatureLayer","dojo/domReady!"],&lt;/P&gt;&lt;P&gt;                                function(map,FeatureLayer) {&lt;/P&gt;&lt;P&gt;                                                var map = this.map;&lt;/P&gt;&lt;P&gt;                                                var extent = map.extent;&lt;/P&gt;&lt;P&gt;                                                var mapSpatRef = map.spatialReference;&lt;/P&gt;&lt;P&gt;                                                var featureLayer = new FeatureLayer("http://sampleserver6.arcgisonline.com/arcgis/rest/services/USA/MapServer/3",{&lt;/P&gt;&lt;P&gt;                                                mode: FeatureLayer.MODE_ONDEMAND,&lt;/P&gt;&lt;P&gt;                                                outFields: ["*"]&lt;/P&gt;&lt;P&gt;                                                });&lt;/P&gt;&lt;P&gt;                                                map.addLayer(featureLayer);&lt;/P&gt;&lt;P&gt;                                                alert("Layer added");&lt;/P&gt;&lt;P&gt;                                });&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Richard MacNeill&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jan 2016 22:17:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/multiple-copies-of-widget-in-builder/m-p/350657#M9331</guid>
      <dc:creator>RichardMacNeill1</dc:creator>
      <dc:date>2016-01-21T22:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple copies of widget in builder</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/multiple-copies-of-widget-in-builder/m-p/350658#M9332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Richard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Every widget has access to the WAB map using the built in var this.map. there is no need to require map or set a local var to the map only use this.map.addLayer(featureLayer);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2016 00:54:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/multiple-copies-of-widget-in-builder/m-p/350658#M9332</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-01-22T00:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple copies of widget in builder</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/multiple-copies-of-widget-in-builder/m-p/350659#M9333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;UNCLASSIFIED&lt;/P&gt;&lt;P&gt;Thanks Robert&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've removed the var map = this.map and the two succeeding var statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm still not getting any response from the map.addLayer(featureLayer) and am beginning to think the problem lies in the layer requested. Any thoughts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2016 04:42:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/multiple-copies-of-widget-in-builder/m-p/350659#M9333</guid>
      <dc:creator>RichardMacNeill1</dc:creator>
      <dc:date>2016-01-22T04:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple copies of widget in builder</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/multiple-copies-of-widget-in-builder/m-p/350660#M9334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Richard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Can you use a console.info(this.map); to check if you are in the proper scope to get access to the map?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2016 12:56:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/multiple-copies-of-widget-in-builder/m-p/350660#M9334</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-01-22T12:56:30Z</dc:date>
    </item>
  </channel>
</rss>

