If you are configuring ArcGIS Notebook Server in an environment with no internet connection or internet access is prohibited by your organization, you must configure the jsapiCDN system property on Notebook Server.
Download ArcGIS Maps SDK for JavaScript in a disconnected environment
When configuring ArcGIS Notebook Server in an environment without internet access, you must download the ArcGIS Maps SDK for JavaScript in your disconnected environment and configure the jsapiCDN system property in ArcGIS Notebook Server to render layers using the map widget in a notebook.
Follow the steps below to setup the ArcGIS Maps SDK for JavaScript in your disconnected environment:
- Download version 4.30 of the ArcGIS Maps SDK for JavaScript and deploy it to your web server in the disconnected environment.
- Register the MIME types that are required on the web server hosting the API.
- Verify that the ArcGIS Maps SDK for JavaScript is accessible from a browser on the disconnected environment using the following URL format: https://[webserver.domain.com]/[path to v4.30 api]/init.js.
https://webserver.domain.com/arcgis_js_v424_api/arcgis_js_api/javascript/4.30/init.js
Configure the jsapiCDN system property
Follow the steps below to configure the jsapiCDN system property.
Note:
Ensure that there are no active notebooks in use before making this change, as updating the notebook server's system properties will terminate all active notebook containers.
- Sign in to the ArcGIS Notebook Server Administrator Directory as an administrator.
The directory is commonly accessible at https://notebookserver.domain.com:11443/arcgis/admin or https://notebookserverwebadaptor.domain.com/webadaptor/admin.
- Click System > Properties.
- Click Update properties.
- Add "jsapiCDN": "https://[webserver.domain.com]/[path to v4.30]" to the end of the existing list of properties.
- Click Update properties to save the changes.
All newly opened notebooks will now use the updated JavaScript API for rendering the map widget.