<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Adding KML file hosted locally in Esri Geoportal Server Questions</title>
    <link>https://community.esri.com/t5/esri-geoportal-server-questions/adding-kml-file-hosted-locally/m-p/360130#M440</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am creating an app using CMV as starting base. One of&amp;nbsp;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.&lt;/P&gt;&lt;P&gt;I have read this doc :&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/3/jsapi/kmllayer-amd.html" rel="nofollow noopener noreferrer" target="_blank"&gt;https://developers.arcgis.com/javascript/3/jsapi/kmllayer-amd.html&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;And I find these lines :&lt;/P&gt;&lt;P&gt;"&lt;EM&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;If your kml/kmz files are behind the firewall you will need to set the&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;&lt;A href="https://developers.arcgis.com/javascript/3/jshelp/inside_defaults.html" style="color: #00629b; text-decoration: none;" rel="nofollow noopener noreferrer" target="_blank"&gt;esriConfig.defaults.kmlService&lt;/A&gt;&lt;/CODE&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;&amp;nbsp;to your own &lt;STRONG&gt;utility service&lt;/STRONG&gt;. (Requires Portal for ArcGIS).&lt;/SPAN&gt;&lt;/EM&gt;" And it advices me to use my own utility service :&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN class="" style="color: #333333; font-weight: bold;"&gt;require&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;([&lt;/SPAN&gt;&lt;SPAN class="" style="color: #dd1144;"&gt;"esri/config"&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;],&lt;/SPAN&gt;&lt;SPAN class="" style="color: #595959;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #333333; font-weight: bold;"&gt;function&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #595959;"&gt;esriConfig&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #595959;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;{&lt;/SPAN&gt;&lt;SPAN class="" style="color: #595959;"&gt;
&amp;nbsp; esriConfig&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #595959;"&gt;defaults&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #595959;"&gt;kmlService &lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="" style="color: #595959;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #dd1144;"&gt;"http://www.example.com/arcgis/sharing/kml"&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #595959;"&gt;
&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;});&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And.. I dont quite understand :&lt;/P&gt;&lt;P&gt;1. Which &lt;STRONG&gt;utility service&lt;/STRONG&gt; ? Sharing Service ? Can't find such a service name&lt;/P&gt;&lt;P&gt;2. Where can I find&amp;nbsp;this utility service within my local Geoportal ?&lt;/P&gt;&lt;P&gt;3. How to create such a service ?&lt;/P&gt;&lt;P&gt;4. Where can I set the&amp;nbsp;&lt;EM&gt;&lt;CODE&gt;&lt;A href="https://developers.arcgis.com/javascript/3/jshelp/inside_defaults.html" style="color: #00629b; text-decoration: none;" rel="nofollow noopener noreferrer" target="_blank"&gt;esriConfig.defaults.kmlService&lt;/A&gt;" ?&lt;/CODE&gt;&lt;/EM&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is KML online sharing provided by esri :&amp;nbsp;&lt;A href="http://utility.arcgis.com/sharing/kml" rel="nofollow noopener noreferrer" target="_blank"&gt;http://utility.arcgis.com/sharing/kml&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Geoportal and Arcgis Server are working fine.&lt;/P&gt;&lt;P&gt;geoportal‌ #configurablemapviewer kml file‌ #cmv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 16:47:41 GMT</pubDate>
    <dc:creator>yockee</dc:creator>
    <dc:date>2021-12-11T16:47:41Z</dc:date>
    <item>
      <title>Adding KML file hosted locally</title>
      <link>https://community.esri.com/t5/esri-geoportal-server-questions/adding-kml-file-hosted-locally/m-p/360130#M440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am creating an app using CMV as starting base. One of&amp;nbsp;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.&lt;/P&gt;&lt;P&gt;I have read this doc :&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/3/jsapi/kmllayer-amd.html" rel="nofollow noopener noreferrer" target="_blank"&gt;https://developers.arcgis.com/javascript/3/jsapi/kmllayer-amd.html&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;And I find these lines :&lt;/P&gt;&lt;P&gt;"&lt;EM&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;If your kml/kmz files are behind the firewall you will need to set the&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;&lt;A href="https://developers.arcgis.com/javascript/3/jshelp/inside_defaults.html" style="color: #00629b; text-decoration: none;" rel="nofollow noopener noreferrer" target="_blank"&gt;esriConfig.defaults.kmlService&lt;/A&gt;&lt;/CODE&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;&amp;nbsp;to your own &lt;STRONG&gt;utility service&lt;/STRONG&gt;. (Requires Portal for ArcGIS).&lt;/SPAN&gt;&lt;/EM&gt;" And it advices me to use my own utility service :&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN class="" style="color: #333333; font-weight: bold;"&gt;require&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;([&lt;/SPAN&gt;&lt;SPAN class="" style="color: #dd1144;"&gt;"esri/config"&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;],&lt;/SPAN&gt;&lt;SPAN class="" style="color: #595959;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #333333; font-weight: bold;"&gt;function&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #595959;"&gt;esriConfig&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #595959;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;{&lt;/SPAN&gt;&lt;SPAN class="" style="color: #595959;"&gt;
&amp;nbsp; esriConfig&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #595959;"&gt;defaults&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #595959;"&gt;kmlService &lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="" style="color: #595959;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #dd1144;"&gt;"http://www.example.com/arcgis/sharing/kml"&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #595959;"&gt;
&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;});&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And.. I dont quite understand :&lt;/P&gt;&lt;P&gt;1. Which &lt;STRONG&gt;utility service&lt;/STRONG&gt; ? Sharing Service ? Can't find such a service name&lt;/P&gt;&lt;P&gt;2. Where can I find&amp;nbsp;this utility service within my local Geoportal ?&lt;/P&gt;&lt;P&gt;3. How to create such a service ?&lt;/P&gt;&lt;P&gt;4. Where can I set the&amp;nbsp;&lt;EM&gt;&lt;CODE&gt;&lt;A href="https://developers.arcgis.com/javascript/3/jshelp/inside_defaults.html" style="color: #00629b; text-decoration: none;" rel="nofollow noopener noreferrer" target="_blank"&gt;esriConfig.defaults.kmlService&lt;/A&gt;" ?&lt;/CODE&gt;&lt;/EM&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is KML online sharing provided by esri :&amp;nbsp;&lt;A href="http://utility.arcgis.com/sharing/kml" rel="nofollow noopener noreferrer" target="_blank"&gt;http://utility.arcgis.com/sharing/kml&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Geoportal and Arcgis Server are working fine.&lt;/P&gt;&lt;P&gt;geoportal‌ #configurablemapviewer kml file‌ #cmv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 16:47:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/esri-geoportal-server-questions/adding-kml-file-hosted-locally/m-p/360130#M440</guid>
      <dc:creator>yockee</dc:creator>
      <dc:date>2021-12-11T16:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: Adding KML file hosted locally</title>
      <link>https://community.esri.com/t5/esri-geoportal-server-questions/adding-kml-file-hosted-locally/m-p/1045705#M858</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/116349"&gt;@yockee&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I believe the utility service is included as part of the standard deployment of ArcGIS Enterprise.&lt;/P&gt;&lt;P&gt;So, you can simply navigate to your specific portal url, like this:&lt;BR /&gt;&lt;A href="https://portal.domain.com/webadaptor/sharing/kml" target="_blank" rel="noopener nofollow noreferrer"&gt;https://&amp;lt;portal.domain.com&amp;gt;/&amp;lt;webadaptor&amp;gt;/sharing/kml&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, in order to&amp;nbsp;set the&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/3/jshelp/inside_defaults.html" rel="nofollow noopener noreferrer" target="_blank"&gt;esriConfig.defaults.kmlService&lt;/A&gt;", you need to use the ArcGIS API for JavaScript, and require&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;esri/layers/KMLLayer&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Apr 2021 20:10:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/esri-geoportal-server-questions/adding-kml-file-hosted-locally/m-p/1045705#M858</guid>
      <dc:creator>AndresCastillo</dc:creator>
      <dc:date>2021-04-10T20:10:53Z</dc:date>
    </item>
  </channel>
</rss>

