AnsweredAssumed Answered

How can I  use the arcgis 3.x api and supporting files in an offline mode.

Question asked by dannyvenier on Oct 5, 2017
Latest reply on Oct 6, 2017 by TSolow-esristaff

Client has heavy restrictions on internet access, so I would like to load all scripts into project rather than referencing them from CDNs (for example sdk is at https://js.arcgis.com/3.22).  However, the js and css (esri.css for example) files all contain many references to online font files, icon files etc. Is there a loading option that lets me use all (project) local scripts and css without embedded cdn references (normally would use Npm and dependencies are loaded)

 

There is the bower option but the docs seem out of date.  Bower build doesn't give an esri folder per the documentation, yet there's a arcgis-js-api component.  However the arcgis-js-api folder doesn't appear to contain the main arcgis api script file.  Not a great readme to describe how to use the bower option?

 

Has anyone used the bower "custom build" option successfully?

Outcomes