<?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: Wrap a custom widget created by the WebApp Builder to a javascript API module in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/wrap-a-custom-widget-created-by-the-webapp-builder/m-p/707345#M134</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yaniv,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;No that is not an option. WAB widgets have a lot of dependency on the jimu.js library and the whole WAB app structure.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Jun 2020 15:45:26 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2020-06-02T15:45:26Z</dc:date>
    <item>
      <title>Wrap a custom widget created by the WebApp Builder to a javascript API module</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/wrap-a-custom-widget-created-by-the-webapp-builder/m-p/707344#M133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I went thru the documentation but I'm pretty new to ESRI and&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;WebApp Builder so not sure if what I'm asking is possible...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Lets say I've created a custom widget using the&amp;nbsp;WebApp Builder (my own template and functionality in its "widget.js" file and so on) - is it possible to wrap it up as&amp;nbsp;an API and consume/require it like esri's other widgets (like&lt;SPAN&gt;&amp;nbsp;"esri/widgets/Expand"&lt;/SPAN&gt;)?&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="token function"&gt;require&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;
     &lt;SPAN class="string token"&gt;"esri/WebScene"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
     &lt;SPAN class="string token"&gt;"esri/views/SceneView"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
     &lt;SPAN class="string token"&gt;"esri/widgets/Expand"&lt;/SPAN&gt;
 &lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;function&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;
     WebScene&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
     SceneView&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
     Expand
 &lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;My goal is to create a custom widget using &lt;SPAN&gt;WebApp Builder - but later on to use this widget thru API and not the builder itself.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;Is that possible?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 05:43:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/wrap-a-custom-widget-created-by-the-webapp-builder/m-p/707344#M133</guid>
      <dc:creator>YanivLev</dc:creator>
      <dc:date>2021-12-12T05:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: Wrap a custom widget created by the WebApp Builder to a javascript API module</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/wrap-a-custom-widget-created-by-the-webapp-builder/m-p/707345#M134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yaniv,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;No that is not an option. WAB widgets have a lot of dependency on the jimu.js library and the whole WAB app structure.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2020 15:45:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/wrap-a-custom-widget-created-by-the-webapp-builder/m-p/707345#M134</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2020-06-02T15:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: Wrap a custom widget created by the WebApp Builder to a javascript API module</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/wrap-a-custom-widget-created-by-the-webapp-builder/m-p/707346#M135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/408788"&gt;Yaniv Lev&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is possible to create your own custom widgets for use in the JS API: &lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/guide/custom-widget/" title="https://developers.arcgis.com/javascript/latest/guide/custom-widget/"&gt;Widget development | ArcGIS API for JavaScript 4.15&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;The ArcGIS for JavaScript API provides a set of ready-to-use widgets. Beginning with version 4.2, it also provides a foundation for you to create custom widgets.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Egge-Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2020 12:01:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/wrap-a-custom-widget-created-by-the-webapp-builder/m-p/707346#M135</guid>
      <dc:creator>Egge-Jan_Pollé</dc:creator>
      <dc:date>2020-06-03T12:01:26Z</dc:date>
    </item>
  </channel>
</rss>

