<?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: Auto Copy a .js file to APP in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/auto-copy-a-js-file-to-app/m-p/850591#M10824</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I also had to modify the &lt;STRONG&gt;init.js&lt;/STRONG&gt; file to include a reference to the package.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Around like 132 there is a &lt;STRONG&gt;dojoConfig.packages&lt;/STRONG&gt;[]&lt;/P&gt;&lt;P&gt;Its something like so....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name: "myHelpers",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; location: window.path + "myHelpers"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 May 2015 21:44:19 GMT</pubDate>
    <dc:creator>Drew</dc:creator>
    <dc:date>2015-05-25T21:44:19Z</dc:date>
    <item>
      <title>Auto Copy a .js file to APP</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/auto-copy-a-js-file-to-app/m-p/850589#M10822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have about 5 widgets that all used a helper.js file I created.&lt;/P&gt;&lt;P&gt;Is there any way I can ensure this file is copied over when an app is created?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I stored the helper.js file in the widgets root directory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 May 2015 17:51:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/auto-copy-a-js-file-to-app/m-p/850589#M10822</guid>
      <dc:creator>Drew</dc:creator>
      <dc:date>2015-05-25T17:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: Auto Copy a .js file to APP</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/auto-copy-a-js-file-to-app/m-p/850590#M10823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well i found one way but I would prefer a different way....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the "stemapp" there is a "libs" folder.&amp;nbsp;&amp;nbsp; I made my own folder&amp;nbsp; (myHelpers) in here&amp;nbsp; and pasted the .js files i needed to be included.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can reference these libs using AMD now..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"myHelpers/helpers",&lt;/P&gt;&lt;P&gt;"myHelpers/lightWindow"&lt;/P&gt;&lt;P&gt;etc......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- I would prefer it not be be in the stemapp but this way works for now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 May 2015 18:26:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/auto-copy-a-js-file-to-app/m-p/850590#M10823</guid>
      <dc:creator>Drew</dc:creator>
      <dc:date>2015-05-25T18:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: Auto Copy a .js file to APP</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/auto-copy-a-js-file-to-app/m-p/850591#M10824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I also had to modify the &lt;STRONG&gt;init.js&lt;/STRONG&gt; file to include a reference to the package.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Around like 132 there is a &lt;STRONG&gt;dojoConfig.packages&lt;/STRONG&gt;[]&lt;/P&gt;&lt;P&gt;Its something like so....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name: "myHelpers",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; location: window.path + "myHelpers"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 May 2015 21:44:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/auto-copy-a-js-file-to-app/m-p/850591#M10824</guid>
      <dc:creator>Drew</dc:creator>
      <dc:date>2015-05-25T21:44:19Z</dc:date>
    </item>
  </channel>
</rss>

