<?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 Add external libraries in WAB Portal version in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/add-external-libraries-in-wab-portal-version/m-p/864242#M12131</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using WAB DE to develop a custom widget. I added jQuery 3.5.1 and jQuery UI 1.12 to the webappviewer/libs/jquery folder, and I reference the libraries as such in my widget:&lt;/P&gt;&lt;P&gt;define(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 'jimu/loaderplugins/jquery-loader!libs/jquery/jquery-3.5.1.min, libs/jquery/jquery-ui.min.js'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;function (..., $)&lt;/P&gt;&lt;P&gt;Works just fine. Copied the widget folder to our server instance of WAB into webappviewer/widgets, and copied the jQuery libraries into webappviewer/libs/jquery. Registered the widget in the portal as an application extension, created a web app, added the custom widget to the app, launched the app, then opened the widget.&lt;/P&gt;&lt;P&gt;I get a 404 error when the widget tries to load the jQuery libraries, although the displayed path in the browser console matches the physical library location.&lt;/P&gt;&lt;P&gt;Do I have to add the libraries to the init.js resource array?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Aug 2020 19:43:25 GMT</pubDate>
    <dc:creator>TyroneLigon1</dc:creator>
    <dc:date>2020-08-19T19:43:25Z</dc:date>
    <item>
      <title>Add external libraries in WAB Portal version</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/add-external-libraries-in-wab-portal-version/m-p/864242#M12131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using WAB DE to develop a custom widget. I added jQuery 3.5.1 and jQuery UI 1.12 to the webappviewer/libs/jquery folder, and I reference the libraries as such in my widget:&lt;/P&gt;&lt;P&gt;define(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 'jimu/loaderplugins/jquery-loader!libs/jquery/jquery-3.5.1.min, libs/jquery/jquery-ui.min.js'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;function (..., $)&lt;/P&gt;&lt;P&gt;Works just fine. Copied the widget folder to our server instance of WAB into webappviewer/widgets, and copied the jQuery libraries into webappviewer/libs/jquery. Registered the widget in the portal as an application extension, created a web app, added the custom widget to the app, launched the app, then opened the widget.&lt;/P&gt;&lt;P&gt;I get a 404 error when the widget tries to load the jQuery libraries, although the displayed path in the browser console matches the physical library location.&lt;/P&gt;&lt;P&gt;Do I have to add the libraries to the init.js resource array?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2020 19:43:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/add-external-libraries-in-wab-portal-version/m-p/864242#M12131</guid>
      <dc:creator>TyroneLigon1</dc:creator>
      <dc:date>2020-08-19T19:43:25Z</dc:date>
    </item>
  </channel>
</rss>

