<?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: Custom widget for deployed web app - for a beginner in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/custom-widget-for-deployed-web-app-for-a-beginner/m-p/861429#M11812</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Allen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find below link, which gives u idea to create custom widget:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/web-appbuilder/sample-code/create-custom-in-panel-widget.htm" title="https://developers.arcgis.com/web-appbuilder/sample-code/create-custom-in-panel-widget.htm"&gt;Create a custom in-panel widget—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also you can have a look at below custom widget for your reference.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/URSpatial/WAB_AddShapefile" title="https://github.com/URSpatial/WAB_AddShapefile"&gt;GitHub - URSpatial/WAB_AddShapefile: Web AppBuilder for ArcGIS widget for uploading shapefiles to the web map as a featu…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Krish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 04 Jun 2017 15:38:26 GMT</pubDate>
    <dc:creator>KrishV</dc:creator>
    <dc:date>2017-06-04T15:38:26Z</dc:date>
    <item>
      <title>Custom widget for deployed web app - for a beginner</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/custom-widget-for-deployed-web-app-for-a-beginner/m-p/861428#M11811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #222222; background-color: #ffffff;"&gt;I'm dipping my toes into the Custom widget waters, so apologies for the amateur question. &amp;nbsp;Basically we have deployed an app configured in Web Appbuilder (via AGOL) onto one of our application servers (development environment). &amp;nbsp;I want to add a simple widget that toggles from basemap to aerials. &amp;nbsp;I've found the relevant code in the Javascript API (&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/3/sandbox/sandbox.html?sample=widget_toggle" title="https://developers.arcgis.com/javascript/3/sandbox/sandbox.html?sample=widget_toggle"&gt;ArcGIS API for JavaScript Sandbox&lt;/A&gt;).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; background-color: #ffffff;"&gt;My plan is to use this code and work it into a version of the CustomWidgetTemplate files from Web AppBuilder Developers edition (from the stmapp/widgets directory) and then add a reference to it in the config.js file for the app (putting the new widget code in the correct spot in the app's widgets folder).&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; background-color: #ffffff;"&gt;First - is this a valid way to go?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; background-color: #ffffff;"&gt;Second, if so, then how to reconcile the very basic code from&amp;nbsp;the API into the CustomWidgetTemplate widget.js file? &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; background-color: #ffffff;"&gt;the toggle widget code is:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;var map;&lt;BR /&gt; require([&lt;BR /&gt; "esri/map", &lt;BR /&gt; "esri/dijit/BasemapToggle",&lt;BR /&gt; "dojo/domReady!"&lt;BR /&gt; ], function(&lt;BR /&gt; Map, BasemapToggle&lt;BR /&gt; ) {&lt;/P&gt;&lt;P&gt;map = new Map("map", {&lt;BR /&gt; center: [-70.6508, 43.1452],&lt;BR /&gt; zoom: 16,&lt;BR /&gt; basemap: "topo"&lt;BR /&gt; });&lt;BR /&gt; &lt;BR /&gt; var toggle = new BasemapToggle({&lt;BR /&gt; map: map,&lt;BR /&gt; basemap: "satellite"&lt;BR /&gt; }, "BasemapToggle");&lt;BR /&gt; toggle.startup();&lt;/P&gt;&lt;P&gt;});&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I'm not sure what part of this is relevant and needed to put into the widget.js file for my new custom widget.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know there are ways around this that don't involve a custom widget but would like to learn how to be able to do this process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks -&amp;nbsp;&lt;/P&gt;&lt;P&gt;Allen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jun 2017 17:16:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/custom-widget-for-deployed-web-app-for-a-beginner/m-p/861428#M11811</guid>
      <dc:creator>AllenScully</dc:creator>
      <dc:date>2017-06-02T17:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: Custom widget for deployed web app - for a beginner</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/custom-widget-for-deployed-web-app-for-a-beginner/m-p/861429#M11812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Allen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find below link, which gives u idea to create custom widget:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/web-appbuilder/sample-code/create-custom-in-panel-widget.htm" title="https://developers.arcgis.com/web-appbuilder/sample-code/create-custom-in-panel-widget.htm"&gt;Create a custom in-panel widget—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also you can have a look at below custom widget for your reference.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/URSpatial/WAB_AddShapefile" title="https://github.com/URSpatial/WAB_AddShapefile"&gt;GitHub - URSpatial/WAB_AddShapefile: Web AppBuilder for ArcGIS widget for uploading shapefiles to the web map as a featu…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Krish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Jun 2017 15:38:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/custom-widget-for-deployed-web-app-for-a-beginner/m-p/861429#M11812</guid>
      <dc:creator>KrishV</dc:creator>
      <dc:date>2017-06-04T15:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: Custom widget for deployed web app - for a beginner</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/custom-widget-for-deployed-web-app-for-a-beginner/m-p/861430#M11813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is great that you are diving into learning to creating new widgets. But don't rule out looking at code others have written, e.g.&amp;nbsp;&lt;A href="https://community.esri.com/docs/DOC-2888-enhanced-basemap-gallery-widget-23-02142017"&gt;https://community.esri.com/docs/DOC-2888-enhanced-basemap-gallery-widget-23-02142017&lt;/A&gt;&amp;nbsp; &amp;nbsp; to see how others have. Robert, and many others have shared their custom widgets...many that can be found &lt;A href="https://community.esri.com/blogs/myAlaskaGIS/2017/03/04/web-appbuilder-the-custom-widgets-list-332017?sr=search&amp;amp;searchId=8a51a669-04bc-4293-b8b5-a65545264a6b&amp;amp;searchIndex=0"&gt;/blogs/myAlaskaGIS/2017/03/04/web-appbuilder-the-custom-widgets-list-332017?sr=search&amp;amp;searchId=8a51a669-04bc-4293-b8b5-a65545264a6b&amp;amp;searchIndex=0&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My other blogs that you may want to look at&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/blogs/myAlaskaGIS/2017/02/15/web-appbuilder-tips-and-links-for-creating-modifying-and-modifying-custom-widgets-2132017?sr=search&amp;amp;searchId=8a51a669-04bc-4293-b8b5-a65545264a6b&amp;amp;searchIndex=7"&gt;/blogs/myAlaskaGIS/2017/02/15/web-appbuilder-tips-and-links-for-creating-modifying-and-modifying-custom-widgets-2132017?sr=search&amp;amp;searchId=8a51a669-04bc-4293-b8b5-a65545264a6b&amp;amp;searchIndex=7&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/blogs/myAlaskaGIS/2016/03/09/web-appbuilder-developer-edition-customization-resource-list?sr=search&amp;amp;searchId=d1728f57-0d28-4ec7-a9cd-161ed7263974&amp;amp;searchIndex=0"&gt;/blogs/myAlaskaGIS/2016/03/09/web-appbuilder-developer-edition-customization-resource-list?sr=search&amp;amp;searchId=d1728f57-0d28-4ec7-a9cd-161ed7263974&amp;amp;searchIndex=0&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Jun 2017 15:55:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/custom-widget-for-deployed-web-app-for-a-beginner/m-p/861430#M11813</guid>
      <dc:creator>RebeccaStrauch__GISP</dc:creator>
      <dc:date>2017-06-04T15:55:13Z</dc:date>
    </item>
    <item>
      <title>Re: Custom widget for deployed web app - for a beginner</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/custom-widget-for-deployed-web-app-for-a-beginner/m-p/861431#M11814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Krish and Rebecca - &lt;/P&gt;&lt;P&gt;These links are quite helpful.&amp;nbsp; I know I can grab widgets and code that others have made, but I'm looking to increase my skills as well.&amp;nbsp; The ability to modify out of the box ESRI apps with a custom widget here and there is powerful.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Allen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2017 21:31:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/custom-widget-for-deployed-web-app-for-a-beginner/m-p/861431#M11814</guid>
      <dc:creator>AllenScully</dc:creator>
      <dc:date>2017-06-05T21:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: Custom widget for deployed web app - for a beginner</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/custom-widget-for-deployed-web-app-for-a-beginner/m-p/861432#M11815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;True.&amp;nbsp; But they are also good to read thru, to see how they did it, especially if you get stuck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The one blog link I sent has many links for the various help docs too, not just completed widgets.&amp;nbsp; Don't overlook easy links.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2017 21:54:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/custom-widget-for-deployed-web-app-for-a-beginner/m-p/861432#M11815</guid>
      <dc:creator>RebeccaStrauch__GISP</dc:creator>
      <dc:date>2017-06-05T21:54:32Z</dc:date>
    </item>
  </channel>
</rss>

