<?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 How to make widget code refreshed in App Builder while developing it ? in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-make-widget-code-refreshed-in-app-builder/m-p/791539#M4187</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to add a new custom widget in the builder (under&amp;nbsp;client\stemapp\widgets). However when I update the code of my widget it does not seem to be reflected in the App Builder. For instance I had in my app a syntax error due to my bad widget code, then I changed the code and I can still see that the old widget code in use.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Restart the App Builder does not seem to have an effect neither building a new app with the widget.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tried to remove server/db files without success, can someone explain how to make custom widget code updates reflect in the App Builder ?&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, 17 Mar 2017 16:20:07 GMT</pubDate>
    <dc:creator>LUCCLAUSTRES</dc:creator>
    <dc:date>2017-03-17T16:20:07Z</dc:date>
    <item>
      <title>How to make widget code refreshed in App Builder while developing it ?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-make-widget-code-refreshed-in-app-builder/m-p/791539#M4187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to add a new custom widget in the builder (under&amp;nbsp;client\stemapp\widgets). However when I update the code of my widget it does not seem to be reflected in the App Builder. For instance I had in my app a syntax error due to my bad widget code, then I changed the code and I can still see that the old widget code in use.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Restart the App Builder does not seem to have an effect neither building a new app with the widget.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tried to remove server/db files without success, can someone explain how to make custom widget code updates reflect in the App Builder ?&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, 17 Mar 2017 16:20:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-make-widget-code-refreshed-in-app-builder/m-p/791539#M4187</guid>
      <dc:creator>LUCCLAUSTRES</dc:creator>
      <dc:date>2017-03-17T16:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to make widget code refreshed in App Builder while developing it ?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-make-widget-code-refreshed-in-app-builder/m-p/791540#M4188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Luc,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Once a widget is added to an app it is copied from the stemapp\widgets folder to the server\apps\[app#]\widgets folder so changes made to the stemapp\widgets folder after that have no affect on that app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my development workflow:&lt;/P&gt;&lt;P&gt;The widget/theme development work flow I use for all my work is this.&lt;/P&gt;&lt;P&gt;1. Copy the [install dir]\client\stemapp\widgets\samplewidgets\CustomWidgetTemplate folder to the stemapp widget folder and rename it to your custom widgets name.&lt;BR /&gt; 2. Open the manifest.json and change the name property to the exact name of the widget folder from step one.&lt;BR /&gt; 3. I now work on changing the icon and some basics of the widget.&lt;BR /&gt; 4. Now I create a new app (normally the app will be named the same as my custom widgets name) and will see that my new custom widget is a choice in the widget choices.&lt;BR /&gt; 5. Add my custom widget to the new app.&lt;BR /&gt; 6. Now I do ALL my development in the [install dir]\server\apps\[app #]\widgets\my custom widget name folder.&lt;BR /&gt; 7. Once I am done will my development I copy the widget folder back into the stemapp widgets folder so that new apps will use the completed widget code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Mar 2017 17:37:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-make-widget-code-refreshed-in-app-builder/m-p/791540#M4188</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-03-17T17:37:56Z</dc:date>
    </item>
  </channel>
</rss>

