<?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 WAB - deploying stock widget gives nls error in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wab-deploying-stock-widget-gives-nls-error/m-p/1271881#M80672</link>
    <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;Im trying to give some custom functionality to a stock webAppbuilder widget for our enterprise client. The implementation was simple and it works on my local development environment. But if i deploy a widget to a portal, and I try using the widget, there is a problem. The dojo loader is trying to load a non existing url/file. So it previously loads the strings.js and strings.js from the localized folder. But then for some reason it aslso wants to load:&amp;nbsp; "widgetfolder/nls/strings", that obviously doesn't exist. It never tries loading this on local dev!&lt;/P&gt;&lt;P&gt;I tried deploying a stock WAP AddData widget with no modifications version 2.21 (same as used by the enterprise portal 10.9.1) and the problem is the same.&lt;/P&gt;&lt;P&gt;How is it, that even the stock widgets from WAB development with the same version don't work on enterprise portal?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ericsson_1-1679922934018.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/66324i271575A55775E494/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ericsson_1-1679922934018.png" alt="ericsson_1-1679922934018.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ericsson_2-1679923021861.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/66325iB335485672B1F790/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ericsson_2-1679923021861.png" alt="ericsson_2-1679923021861.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 27 Mar 2023 13:17:57 GMT</pubDate>
    <dc:creator>ericsson</dc:creator>
    <dc:date>2023-03-27T13:17:57Z</dc:date>
    <item>
      <title>WAB - deploying stock widget gives nls error</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wab-deploying-stock-widget-gives-nls-error/m-p/1271881#M80672</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;Im trying to give some custom functionality to a stock webAppbuilder widget for our enterprise client. The implementation was simple and it works on my local development environment. But if i deploy a widget to a portal, and I try using the widget, there is a problem. The dojo loader is trying to load a non existing url/file. So it previously loads the strings.js and strings.js from the localized folder. But then for some reason it aslso wants to load:&amp;nbsp; "widgetfolder/nls/strings", that obviously doesn't exist. It never tries loading this on local dev!&lt;/P&gt;&lt;P&gt;I tried deploying a stock WAP AddData widget with no modifications version 2.21 (same as used by the enterprise portal 10.9.1) and the problem is the same.&lt;/P&gt;&lt;P&gt;How is it, that even the stock widgets from WAB development with the same version don't work on enterprise portal?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ericsson_1-1679922934018.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/66324i271575A55775E494/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ericsson_1-1679922934018.png" alt="ericsson_1-1679922934018.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ericsson_2-1679923021861.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/66325iB335485672B1F790/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ericsson_2-1679923021861.png" alt="ericsson_2-1679923021861.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 13:17:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wab-deploying-stock-widget-gives-nls-error/m-p/1271881#M80672</guid>
      <dc:creator>ericsson</dc:creator>
      <dc:date>2023-03-27T13:17:57Z</dc:date>
    </item>
  </channel>
</rss>

