Hi,
I am creating an app using CMV as starting base. One of my operational layer is KML based. I want to call this KML file from within internal network. I don't want to host the KML file on outside premises.
I have read this doc : https://developers.arcgis.com/javascript/3/jsapi/kmllayer-amd.html.
And I find these lines :
"If your kml/kmz files are behind the firewall you will need to set the <A href="https://developers.arcgis.com/javascript/3/jshelp/inside_defaults.html" style="color: #00629b; text-decoration: none;" rel="nofollow noopener noreferrer" target="_blank">esriConfig.defaults.kmlService</A> to your own utility service. (Requires Portal for ArcGIS)." And it advices me to use my own utility service :
require(["esri/config"], function(esriConfig) {
esriConfig.defaults.kmlService = "http://www.example.com/arcgis/sharing/kml";
});And.. I dont quite understand :
1. Which utility service ? Sharing Service ? Can't find such a service name
2. Where can I find this utility service within my local Geoportal ?
3. How to create such a service ?
4. Where can I set the <A href="https://developers.arcgis.com/javascript/3/jshelp/inside_defaults.html" style="color: #00629b; text-decoration: none;" rel="nofollow noopener noreferrer" target="_blank">esriConfig.defaults.kmlService</A>" ?
There is KML online sharing provided by esri : http://utility.arcgis.com/sharing/kml.
I have Geoportal 10.6 hosted internally and its federated. I am using Web Adaptor. Also i m using Arcgis Server 10.6. IIS Web Server.
Geoportal and Arcgis Server are working fine.
geoportal #configurablemapviewer kml file #cmv