<?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 Change WAB JS API Version in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/change-wab-js-api-version/m-p/588066#M15630</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm currently developing in WAB v2.15.&amp;nbsp; I'm trying to use JS API v4.14 instead of the default v3.31.&amp;nbsp; I followed the instructions &lt;A href="https://developers.arcgis.com/web-appbuilder/sample-code/change-url-of-arcgis-api-for-javascript.htm"&gt;here&lt;/A&gt;; however, after changing the apiVersion to 4.14 (either by un-commenting the "apiUrl = 'https://js.arcgis.com/4.14'" line or changing the apiVersion variable to 4.14) within the env.js file I cannot get WAB to load.&amp;nbsp; When inspecting the code, I see I am receiving the following error: "GET &lt;A class="unlinked"&gt;https://js.arcgis.com/4.14/esri/XXXXX.js&lt;/A&gt;&amp;nbsp;net::ERR_ABORTED 404".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What am I doing wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 May 2020 01:52:03 GMT</pubDate>
    <dc:creator>JordanHahn1</dc:creator>
    <dc:date>2020-05-07T01:52:03Z</dc:date>
    <item>
      <title>Change WAB JS API Version</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/change-wab-js-api-version/m-p/588066#M15630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm currently developing in WAB v2.15.&amp;nbsp; I'm trying to use JS API v4.14 instead of the default v3.31.&amp;nbsp; I followed the instructions &lt;A href="https://developers.arcgis.com/web-appbuilder/sample-code/change-url-of-arcgis-api-for-javascript.htm"&gt;here&lt;/A&gt;; however, after changing the apiVersion to 4.14 (either by un-commenting the "apiUrl = 'https://js.arcgis.com/4.14'" line or changing the apiVersion variable to 4.14) within the env.js file I cannot get WAB to load.&amp;nbsp; When inspecting the code, I see I am receiving the following error: "GET &lt;A class="unlinked"&gt;https://js.arcgis.com/4.14/esri/XXXXX.js&lt;/A&gt;&amp;nbsp;net::ERR_ABORTED 404".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What am I doing wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2020 01:52:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/change-wab-js-api-version/m-p/588066#M15630</guid>
      <dc:creator>JordanHahn1</dc:creator>
      <dc:date>2020-05-07T01:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: Change WAB JS API Version</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/change-wab-js-api-version/m-p/588067#M15631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure you can choose to use just version 4 of the Javascript API for WAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Version 4 of the JS API is markedly different from version 3 and requires different code to support it. If you look at the following link it shows that WAB uses v4 for 3D but v3 for 2D:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/web-appbuilder/guide/about-versions.htm" title="https://developers.arcgis.com/web-appbuilder/guide/about-versions.htm"&gt;About release versions—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The link you are referencing is for changing the site of the JS API CDN. For instance, you may host the CDN yourself or choose one that is in a closer locale to your application.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2020 07:02:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/change-wab-js-api-version/m-p/588067#M15631</guid>
      <dc:creator>mdonnelly</dc:creator>
      <dc:date>2020-05-07T07:02:34Z</dc:date>
    </item>
    <item>
      <title>Re: Change WAB JS API Version</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/change-wab-js-api-version/m-p/588068#M15632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mark - thanks for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I must have looked at the table a dozen times yesterday and missed the fact that each app type (2D vs 3D) is the differentiating factor between the JS API versions.&amp;nbsp; Again, thanks for pointing that out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In further troubleshooting it last night I started to notice I was only receiving 404 errors for modules that had changed between v3 and v4.&amp;nbsp; For example, I was receiving the error for the IdentityManager module.&amp;nbsp; Once I did a find all / replace and updated the path to the new esri/identitiy/IdentityManager path (vice the original esri/IdentityManager path), the error went away.&amp;nbsp; Not sure what side impacts this has "under the hood" though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I'm working on a 2D app, looks like I will have to roll back to v3.31 of JS API.&amp;nbsp; I'd be curious if Esri plans to change the WAB baseline completely over to v4.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2020 14:20:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/change-wab-js-api-version/m-p/588068#M15632</guid>
      <dc:creator>JordanHahn1</dc:creator>
      <dc:date>2020-05-07T14:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: Change WAB JS API Version</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/change-wab-js-api-version/m-p/588069#M15633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Esri doesn't have any plans to upgrade the 2D apps to 4.x in WAB.&amp;nbsp; &lt;A href="https://developers.arcgis.com/experience-builder/"&gt;Experience Builder&lt;/A&gt; is the new way of creating apps, fully embracing 4.x.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2020 14:25:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/change-wab-js-api-version/m-p/588069#M15633</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2020-05-07T14:25:10Z</dc:date>
    </item>
  </channel>
</rss>

