<?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: Difference between WAB Developer and WAB Portal in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/difference-between-wab-developer-and-wab-portal/m-p/763992#M942</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for this sugesstion.&amp;nbsp;This would work!&lt;/P&gt;&lt;P&gt;Unforfunately our widgets also live as widgets outside the WAB. So I need to "require" the language files in case the widget starts outside the WA and pass the nls object in case the widget is in WAB. Hmmm..&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got a case at ESRI Inc. with this. So, let´s see what they will tell me to do.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Matthias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Jul 2018 06:16:06 GMT</pubDate>
    <dc:creator>MatthiasHahn</dc:creator>
    <dc:date>2018-07-02T06:16:06Z</dc:date>
    <item>
      <title>Difference between WAB Developer and WAB Portal</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/difference-between-wab-developer-and-wab-portal/m-p/763990#M940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since 10.5.1 it´s possible to "import" Custom Widgets into a ArcGIS for Portal.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the past we developed Custom Widgets in WAB Developer Edition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I got a problem with the webappviewer - the application that starts the webappbuilder apps in Portal for ArcGIS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got different classes (not only the Widget.js) in the Widget and every class has it´s own language file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The WEB Developer edition has no problem to load an language ressource with&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;"dojo/i18n!./nls/ExtraClass"&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;When I start the Widget in an app in the WAB of the Portal for ArcGIS the dojo load says:&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;404 - [Widget]/nls/ExtraClass&amp;nbsp;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;there is no extension in the request!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got a NLSTest Widget as attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my question:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to load these extra language files?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or do I have to copy all language things to string.js?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2018 11:32:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/difference-between-wab-developer-and-wab-portal/m-p/763990#M940</guid>
      <dc:creator>MatthiasHahn</dc:creator>
      <dc:date>2018-06-27T11:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between WAB Developer and WAB Portal</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/difference-between-wab-developer-and-wab-portal/m-p/763991#M941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Matthias,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I remember running into this issue with some of my widgets and I ended up just passing the nls object into the other files constructor instead of referencing it using the require array. For example in my main widget.js file it has no issue getting the nls file so when my widget.js required my singleParams file it passes the nls object to the single Params.js as one of it global variables.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Jun 2018 20:06:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/difference-between-wab-developer-and-wab-portal/m-p/763991#M941</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-06-30T20:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between WAB Developer and WAB Portal</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/difference-between-wab-developer-and-wab-portal/m-p/763992#M942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for this sugesstion.&amp;nbsp;This would work!&lt;/P&gt;&lt;P&gt;Unforfunately our widgets also live as widgets outside the WAB. So I need to "require" the language files in case the widget starts outside the WA and pass the nls object in case the widget is in WAB. Hmmm..&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got a case at ESRI Inc. with this. So, let´s see what they will tell me to do.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Matthias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2018 06:16:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/difference-between-wab-developer-and-wab-portal/m-p/763992#M942</guid>
      <dc:creator>MatthiasHahn</dc:creator>
      <dc:date>2018-07-02T06:16:06Z</dc:date>
    </item>
  </channel>
</rss>

