<?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 Help with creating Widgets- ? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/help-with-creating-widgets/m-p/370843#M34400</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having a hard time understanding the creation of widgets even after going thru' both Dojo and &lt;A href="https://developers.arcgis.com/javascript/3/jshelp/intro_custom_dijit.html"&gt;ArcGIS JS&lt;/A&gt;&amp;nbsp;widget creation tutorial. I created a widget for webmap- but I am stuck at writing Search widget as I am not sure about how map can be pulled into this widget.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of posting the code for my widget, I have put together a simple basic map using a portal webmap with a search functionality (Thanks to Robert for the Floating panel layerlist) as in this fiddle:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://jsfiddle.net/11a93nja/" title="https://jsfiddle.net/11a93nja/"&gt;Edit fiddle - JSFiddle&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anybody please separate map and search as two different widgets&amp;nbsp; which will help me understand the concept?&amp;nbsp;I'll be loading the widget's config from a json file. Any pointers will be helpful!! Thanks in advance&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Feb 2018 02:24:07 GMT</pubDate>
    <dc:creator>AnnCrystal</dc:creator>
    <dc:date>2018-02-06T02:24:07Z</dc:date>
    <item>
      <title>Help with creating Widgets- ?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/help-with-creating-widgets/m-p/370843#M34400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having a hard time understanding the creation of widgets even after going thru' both Dojo and &lt;A href="https://developers.arcgis.com/javascript/3/jshelp/intro_custom_dijit.html"&gt;ArcGIS JS&lt;/A&gt;&amp;nbsp;widget creation tutorial. I created a widget for webmap- but I am stuck at writing Search widget as I am not sure about how map can be pulled into this widget.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of posting the code for my widget, I have put together a simple basic map using a portal webmap with a search functionality (Thanks to Robert for the Floating panel layerlist) as in this fiddle:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://jsfiddle.net/11a93nja/" title="https://jsfiddle.net/11a93nja/"&gt;Edit fiddle - JSFiddle&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anybody please separate map and search as two different widgets&amp;nbsp; which will help me understand the concept?&amp;nbsp;I'll be loading the widget's config from a json file. Any pointers will be helpful!! Thanks in advance&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2018 02:24:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/help-with-creating-widgets/m-p/370843#M34400</guid>
      <dc:creator>AnnCrystal</dc:creator>
      <dc:date>2018-02-06T02:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: Help with creating Widgets- ?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/help-with-creating-widgets/m-p/370844#M34401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ann,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Here is a zip that separates the Search widget from the map.js.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2018 14:53:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/help-with-creating-widgets/m-p/370844#M34401</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-02-06T14:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: Help with creating Widgets- ?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/help-with-creating-widgets/m-p/370845#M34402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome Robert- you are the most valuable mentor in this community. I was trying to separate it out as a widget which confused me a lot. This is easy to understand. But, what is the downside of avoiding widgeting in the dojo application? If I add more tool logic as separate js files and call it in the map without widgeting, are there any bottlenecks? Please share your thoughts. Thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2018 02:16:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/help-with-creating-widgets/m-p/370845#M34402</guid>
      <dc:creator>AnnCrystal</dc:creator>
      <dc:date>2018-02-07T02:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: Help with creating Widgets- ?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/help-with-creating-widgets/m-p/370846#M34403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ann,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; For something as simple as the Search widget I would never separate it into its own js file unless there was some scenario where that component would not be added unless certain criteria/conditions existed (like a specific user group or individual should only see and use it). The bottleneck of not module-izing your code is that it can take longer to load and debug/maintain. Now if all the featrures are always going to be loaded and used then module-izing your code has less benefit. But if you can avoid loading say the layer list until it is requested/needed then you application will start faster.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2018 13:45:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/help-with-creating-widgets/m-p/370846#M34403</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-02-07T13:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: Help with creating Widgets- ?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/help-with-creating-widgets/m-p/370847#M34404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Robert for your support.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2018 02:56:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/help-with-creating-widgets/m-p/370847#M34404</guid>
      <dc:creator>AnnCrystal</dc:creator>
      <dc:date>2018-02-08T02:56:20Z</dc:date>
    </item>
  </channel>
</rss>

