<?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: JQuery JSTree Plugin in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/jquery-jstree-plugin/m-p/706147#M125</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;JQuery loads properly if i comment out the jstree on the define.&lt;/P&gt;&lt;P&gt;Looks like the jstree has Jquery global already:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/475552_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Dec 2019 18:47:39 GMT</pubDate>
    <dc:creator>LaurynasGedminas2</dc:creator>
    <dc:date>2019-12-06T18:47:39Z</dc:date>
    <item>
      <title>JQuery JSTree Plugin</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/jquery-jstree-plugin/m-p/706139#M117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try to use this library in the widget:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/vakata/jstree#include-all-neccessary-files" title="https://github.com/vakata/jstree#include-all-neccessary-files"&gt;GitHub - vakata/jstree: jquery tree plugin&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Getting error on the jstree is not a function.&lt;/P&gt;&lt;P&gt;the library is referenced int he index.html&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;!-- JStree --&amp;gt;&lt;BR /&gt; &amp;lt;script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;BR /&gt; &amp;lt;link rel="stylesheet" href="https://community.esri.com//cdnjs.cloudflare.com/ajax/libs/jstree/3.3.8/themes/default/style.min.css" /&amp;gt;&lt;BR /&gt; &amp;lt;script src="//cdnjs.cloudflare.com/ajax/libs/jstree/3.3.8/jstree.min.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to resolve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2019 15:49:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/jquery-jstree-plugin/m-p/706139#M117</guid>
      <dc:creator>LaurynasGedminas2</dc:creator>
      <dc:date>2019-12-06T15:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: JQuery JSTree Plugin</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/jquery-jstree-plugin/m-p/706140#M118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you followed this?&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/web-appbuilder/sample-code/add-a-third-party-library.htm" title="https://developers.arcgis.com/web-appbuilder/sample-code/add-a-third-party-library.htm"&gt;Use other libraries—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2019 16:03:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/jquery-jstree-plugin/m-p/706140#M118</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2019-12-06T16:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: JQuery JSTree Plugin</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/jquery-jstree-plugin/m-p/706141#M119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tired all these methods neither worked.&lt;/P&gt;&lt;P&gt;Putting it in the widget it self would stall widget load:&lt;/P&gt;&lt;P&gt;&amp;nbsp;'jimu/loaderplugins/jquery-loader!https://cdnjs.cloudflare.com/ajax/libs/jstree/3.3.8/jstree.min.js',&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2019 16:12:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/jquery-jstree-plugin/m-p/706141#M119</guid>
      <dc:creator>LaurynasGedminas2</dc:creator>
      <dc:date>2019-12-06T16:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: JQuery JSTree Plugin</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/jquery-jstree-plugin/m-p/706142#M120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Laurynas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;You can not use the jquery-loader to add a script like the jstree.min.js. Also you will not be able to use a cdn when adding trying to add the lib to the widget folder as method three recommends. What method 3 is saying is you add the actual *.js file to the widgets folder and then decalre it in the widget define array.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2019 16:43:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/jquery-jstree-plugin/m-p/706142#M120</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2019-12-06T16:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: JQuery JSTree Plugin</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/jquery-jstree-plugin/m-p/706143#M121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;that get me further,loading thru jstree.js into widget. Getting error:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/475452_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2019 16:58:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/jquery-jstree-plugin/m-p/706143#M121</guid>
      <dc:creator>LaurynasGedminas2</dc:creator>
      <dc:date>2019-12-06T16:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: JQuery JSTree Plugin</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/jquery-jstree-plugin/m-p/706144#M122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Now jQuery library does have to loaded using&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;jquery-loader&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2019 17:40:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/jquery-jstree-plugin/m-p/706144#M122</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2019-12-06T17:40:25Z</dc:date>
    </item>
    <item>
      <title>Re: JQuery JSTree Plugin</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/jquery-jstree-plugin/m-p/706145#M123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ye, its loaded. still giving this error:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/475453_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/475550_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2019 18:05:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/jquery-jstree-plugin/m-p/706145#M123</guid>
      <dc:creator>LaurynasGedminas2</dc:creator>
      <dc:date>2019-12-06T18:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: JQuery JSTree Plugin</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/jquery-jstree-plugin/m-p/706146#M124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you get jQuery to load properly if you comment out the jstree portion of the define?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2019 18:31:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/jquery-jstree-plugin/m-p/706146#M124</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2019-12-06T18:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: JQuery JSTree Plugin</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/jquery-jstree-plugin/m-p/706147#M125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;JQuery loads properly if i comment out the jstree on the define.&lt;/P&gt;&lt;P&gt;Looks like the jstree has Jquery global already:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/475552_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2019 18:47:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/jquery-jstree-plugin/m-p/706147#M125</guid>
      <dc:creator>LaurynasGedminas2</dc:creator>
      <dc:date>2019-12-06T18:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: JQuery JSTree Plugin</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/jquery-jstree-plugin/m-p/706148#M126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you will have to require the jstree module in your widget after you know jQuery is loaded then. So in the widgets onOpen method you can add the jstree require.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2019 18:52:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/jquery-jstree-plugin/m-p/706148#M126</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2019-12-06T18:52:41Z</dc:date>
    </item>
  </channel>
</rss>

