Changes to ENVIRON.INI

For On Prem release, Content Security Policies are enforced for application security. GIS Map Viewer connects to domains other than the WAM Application Domain, like CDN for ArcGIS JavaScript API and ArcGIS Portal / ArcGIS Online Servers. As per CSP restrictions, communication to other domains is blocked. Because of this, GIS Map Viewer will not work. To work with GIS Map Viewer, add the below URLs to the parameters of the ENVIRON.INI file.

Parameter URL
CSP_​CONNECT_​SRC Provide the URLs which have network status as blocked:csp
CSP_​FONT_​SRC https://js.arcgis.com data:

Along with the above, provide the URLs which have network status as blocked:csp
CSP_​STYLE_​SRC https://js.arcgis.com data:

Along with the above, provide the URLs which have network status as blocked:csp
CSP_​URL_​IMG_​SRC https://js.arcgis.com data:

Along with the above, provide the URLs which have network status as blocked:csp
CSP_​URL_​SCRIPT_​SRC https://js.arcgis.com data:

Along with the above, provide the URLs which have network status as blocked:csp

For additional information, see "Menu Block 55-URL, File and URL Related Options" in the Advanced Menu Options present in Appendix B and also refer to the Server Administration Guide.

Below are the other parameter configurations in the ENVIRON.INI file:

  • OWSM-PROTECTION_​FOR_​REST_​SERVICES
  • CLOUD_​RESTRICTION_​URLS_​ENABLE

OWSM_​PROTECTION_​FOR_​REST_​SERVICES

This parameter should be configured only if Oracle Web Service Manager Protection has to be enabled for REST services.

The default parameter value is set to ‘true’ in the ENVIRON.INI file. Set it to ‘false’ if Oracle Web Service Manager is not configured. Also the WEBSERVICES_​ENABLED parameter value should be set to ‘true’.

The ENVIRON.INI file is found in the etc folder of the environment (example: / scratch/<environment name>/etc).

Field Value
OWSM_​PROTECTION_​FOR_​REST_​SERVICES false
WEBSERVICES_​ENABLED true

Important! These parameters should be configured properly to launch the GIS Viewer.

CLOUD_​RESTRICTION_​URLS_​ENABLE

Configure this parameter only if a set of server URLs should be accessed from the Oracle Utilities Work and Asset Management system.

The default parameter value for this parameter is set to ‘false’. If the parameter value is set to ‘true’, the GIS server URLs that are configured in ESRI Maps Master Configuration and ESRI WAM Integration Master Configuration objects should be mentioned in the whitelist xml file configured in the CLOUD_​WHITE_​LIST_​PATH parameter’.