<?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: Include @arcgis/core js scripts and assets in Angular build in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/include-arcgis-core-js-scripts-and-assets-in/m-p/1202929#M78298</link>
    <description>&lt;P&gt;Thank you,&amp;nbsp;&lt;/P&gt;&lt;P&gt;So for the js scripts, I'd have to use AMD if I need to run them locally?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been using ES modules through my application and I'd need to re-create to use AMD?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Juliana&lt;/P&gt;</description>
    <pubDate>Mon, 15 Aug 2022 16:14:50 GMT</pubDate>
    <dc:creator>JulianaCastillo</dc:creator>
    <dc:date>2022-08-15T16:14:50Z</dc:date>
    <item>
      <title>Include @arcgis/core js scripts and assets in Angular build</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/include-arcgis-core-js-scripts-and-assets-in/m-p/1202874#M78292</link>
      <description>&lt;P&gt;I'm creating an application that may not have access to the internet and need to load the ArcGIS Javascript 4.23 API from a local server.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm currently using ES modules and can't seem to find a way to make sure the modules are part of the deployment.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any pointers on how to do this? I've seen posts on how to import assets but not full js library folders like&amp;nbsp;&amp;nbsp;@arcgis/core&lt;/P&gt;</description>
      <pubDate>Mon, 15 Aug 2022 15:07:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/include-arcgis-core-js-scripts-and-assets-in/m-p/1202874#M78292</guid>
      <dc:creator>JulianaCastillo</dc:creator>
      <dc:date>2022-08-15T15:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: Include @arcgis/core js scripts and assets in Angular build</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/include-arcgis-core-js-scripts-and-assets-in/m-p/1202902#M78294</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/33413"&gt;@JulianaCastillo&lt;/a&gt;&lt;/P&gt;&lt;P&gt;1) Any service you are using, such as map tiles, feature services, etc. have to point to an ArcGIS Enterprise instance.&lt;/P&gt;&lt;P&gt;2) If you can't reach the public NPM repository to install "@arcgis/core" can download the tarball and then run "npm install ./path_to_tarball.tgz" in your project. To get the download location of the latest tarball run "npm view @arcgis/core dist" in a terminal window.&lt;/P&gt;&lt;P&gt;3) Configure the JS API assets to run locally: &lt;A href="https://developers.arcgis.com/javascript/latest/es-modules/#managing-assets-locally" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/javascript/latest/es-modules/#managing-assets-locally.&lt;/A&gt; For Angular, there are specific instructions in the NPM readme: &lt;A href="https://www.npmjs.com/package/@arcgis/core" target="_blank" rel="noopener"&gt;https://www.npmjs.com/package/@arcgis/core&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;4) Download the SDK documentation for local use. To download the documentation, navigate to the ArcGIS API for JavaScript &lt;A href="https://developers.arcgis.com/downloads/#javascript" target="_blank" rel="noopener"&gt;download page&lt;/A&gt; and log-in with your Esri global account. If you are using @arcgis/core you won't need to use the AMD modules.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Aug 2022 16:29:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/include-arcgis-core-js-scripts-and-assets-in/m-p/1202902#M78294</guid>
      <dc:creator>AndyGup</dc:creator>
      <dc:date>2022-08-15T16:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: Include @arcgis/core js scripts and assets in Angular build</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/include-arcgis-core-js-scripts-and-assets-in/m-p/1202929#M78298</link>
      <description>&lt;P&gt;Thank you,&amp;nbsp;&lt;/P&gt;&lt;P&gt;So for the js scripts, I'd have to use AMD if I need to run them locally?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been using ES modules through my application and I'd need to re-create to use AMD?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Juliana&lt;/P&gt;</description>
      <pubDate>Mon, 15 Aug 2022 16:14:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/include-arcgis-core-js-scripts-and-assets-in/m-p/1202929#M78298</guid>
      <dc:creator>JulianaCastillo</dc:creator>
      <dc:date>2022-08-15T16:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: Include @arcgis/core js scripts and assets in Angular build</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/include-arcgis-core-js-scripts-and-assets-in/m-p/1202935#M78299</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/33413"&gt;@JulianaCastillo&lt;/a&gt;no you can continue using @arcgis/core as outlined in my steps above. I'm not sure what gave you that impression? Maybe #4 above was confusing because of the link I used, I'll update that information to help clarify.&lt;/P&gt;&lt;P&gt;We recommend downloading the JS API documentation for use offline - the JS API documentation applies to both AMD and ESM, the API functionality is the same. To download the documentation, navigate to the ArcGIS API for JavaScript &lt;A href="https://developers.arcgis.com/downloads/#javascript" target="_blank" rel="noopener"&gt;download page&lt;/A&gt; and log-in with your Esri global account. If you are using @arcgis/core you won't need to download or use the AMD modules.&lt;/P&gt;&lt;P&gt;Did that help?&lt;/P&gt;</description>
      <pubDate>Mon, 15 Aug 2022 18:29:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/include-arcgis-core-js-scripts-and-assets-in/m-p/1202935#M78299</guid>
      <dc:creator>AndyGup</dc:creator>
      <dc:date>2022-08-15T18:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: Include @arcgis/core js scripts and assets in Angular build</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/include-arcgis-core-js-scripts-and-assets-in/m-p/1203038#M78302</link>
      <description>&lt;P&gt;It did help somewhat but now I'm getting other issues.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My hover popups are not displaying as well as the home widget with the zoom in/out.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It does not show any errors but are not displaying. Is there anything else I might be missing?&lt;/P&gt;&lt;P&gt;UPDATE: The main.css file was not loading. I moved it out back to the angular.json file and it seems to be working fine.&lt;/P&gt;&lt;P&gt;Thanks,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Juliana&lt;/P&gt;</description>
      <pubDate>Mon, 15 Aug 2022 20:21:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/include-arcgis-core-js-scripts-and-assets-in/m-p/1203038#M78302</guid>
      <dc:creator>JulianaCastillo</dc:creator>
      <dc:date>2022-08-15T20:21:29Z</dc:date>
    </item>
  </channel>
</rss>

