In offline environment how to set calcite module for the Exb dev version(v1.17)?
There is no introcution on this topic in the official document.
The server that hosts the Maps SDK or Calcite needs to support CORS, see https://developers.arcgis.com/experience-builder/guide/install-guide/#offline-install
@JunshanLiu When we deploy calcite on IIS, we get a No 'Access-Control-Allow-Origin' header is present on the requested resource error when trying to create a new project. Any pointers on how we can get around this?
Hi @JunshanLiu I think the "calciteComponentsUrl" is right. "calcite.esm.js" is linked.
@baohuachu7 I guess you may use the wrong URL for the "calciteComponentsUrl".
There is a "calcite-components" folder in the "dist" folder, but the "calciteComponentsUrl" should point to the URL you deployed, which does not have the "index.js", but it should have the "calcite.esm.js"
yes, copied. There is no index.js file in this folder.
Have you copied this folder to your web server? It seems there is no index.js (in your snapshot) file in the folder.
Hi JunshanLiu,
Follow the steps above, got the problem as below.
We'll update the doc in the coming release.
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.