<?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: ArcGIS Maps SDK for JavaScript Sample Code Facing Issue in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-maps-sdk-for-javascript-sample-code-facing/m-p/1302321#M81489</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/688236"&gt;@sajalpal&lt;/a&gt;&amp;nbsp;did you find a solution to this. I am facing the same issue with a Asp.net core project. My ArcGIS code works with sdk 4.15 but as soon as i reference any sdk above 4.15 it returns the ...not a constructor error. It is as if it does not read the require tags&lt;/P&gt;</description>
    <pubDate>Fri, 23 Jun 2023 01:56:55 GMT</pubDate>
    <dc:creator>GavinBoyd</dc:creator>
    <dc:date>2023-06-23T01:56:55Z</dc:date>
    <item>
      <title>ArcGIS Maps SDK for JavaScript Sample Code Facing Issue</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-maps-sdk-for-javascript-sample-code-facing/m-p/1293985#M81272</link>
      <description>&lt;P&gt;We are trying to implement the map in our application(Asp.net core 5) with your latest JS library ("&lt;A href="https://js.arcgis.com/4.26/" target="_blank" rel="noopener"&gt;https://js.arcgis.com/4.26/&lt;/A&gt;"). But every time we are facing an issue with this library getting the below errors.&lt;BR /&gt;1. (index):31 Error: multipleDefine&lt;BR /&gt;2. Uncaught TypeError: KMLLayer is not a constructor&lt;/P&gt;&lt;P&gt;For Reference, we are using the code from the below sandbox&lt;BR /&gt;SANDBOX LINK: &lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=layers-kml" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=layers-kml&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ESRI_Screenshot 2023-05-30 153125.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/71908i1625CF27D513C906/image-size/large?v=v2&amp;amp;px=999" role="button" title="ESRI_Screenshot 2023-05-30 153125.png" alt="ESRI_Screenshot 2023-05-30 153125.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2023 15:38:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-maps-sdk-for-javascript-sample-code-facing/m-p/1293985#M81272</guid>
      <dc:creator>sajalpal</dc:creator>
      <dc:date>2023-05-30T15:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Maps SDK for JavaScript Sample Code Facing Issue</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-maps-sdk-for-javascript-sample-code-facing/m-p/1302321#M81489</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/688236"&gt;@sajalpal&lt;/a&gt;&amp;nbsp;did you find a solution to this. I am facing the same issue with a Asp.net core project. My ArcGIS code works with sdk 4.15 but as soon as i reference any sdk above 4.15 it returns the ...not a constructor error. It is as if it does not read the require tags&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2023 01:56:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-maps-sdk-for-javascript-sample-code-facing/m-p/1302321#M81489</guid>
      <dc:creator>GavinBoyd</dc:creator>
      <dc:date>2023-06-23T01:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Maps SDK for JavaScript Sample Code Facing Issue</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-maps-sdk-for-javascript-sample-code-facing/m-p/1302743#M81518</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/688236"&gt;@sajalpal&lt;/a&gt;&amp;nbsp;In case you haven't already found a solution:&lt;/P&gt;&lt;P&gt;I had a hunch that this had something to do with my page/view references conflicting js. By doing the following, sdk 4.27 is now working.&lt;/P&gt;&lt;P&gt;The way I got around was to comment out this section of the shared Asp.net Core App _layout.cshtml view&lt;/P&gt;&lt;P&gt;&amp;lt;script src="~/lib/jquery/dist/jquery.min.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;BR /&gt;&amp;lt;script src="~/lib/bootstrap/dist/js/bootstrap.bundle.min.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;BR /&gt;&amp;lt;script src="~/js/site.js" asp-append-version="true"&amp;gt;&amp;lt;/script&amp;gt;&lt;BR /&gt;@RenderSection("Scripts", required: false)&lt;/P&gt;&lt;P&gt;As it appears to conflict with any arcgis sdk of higher than 4.15. My app is now displaying sdk 4.27 without the 'not a constructor' error&lt;/P&gt;</description>
      <pubDate>Sun, 25 Jun 2023 00:09:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-maps-sdk-for-javascript-sample-code-facing/m-p/1302743#M81518</guid>
      <dc:creator>GavinBoyd</dc:creator>
      <dc:date>2023-06-25T00:09:46Z</dc:date>
    </item>
  </channel>
</rss>

