Loading

Modify KML files for Maps

Data pubblicazione: Aug 16, 2023
Descrizione
KML files can be displayed in Salesforce Maps, but sometimes the KML file does not display anything when loaded.
Risoluzione
This article refers to KML files. We encourage you review the Get Started with the Maps Connector for ArcGIS as an alternative to KML files.

There are two known causes of this.
  1. The file is not in .kml format. The file may be of type .kmz or .shp. Open the file in Google Earth and save as .kml then reload to Salesforce.
  2. The file has a missing attribute. This solution is slightly more complex and requires a text editor such as Sublime, NetBeans, or Notepad++.

To resolve this follow the below steps

  • Move the file to your desktop
  • Right click the file and Open With the text editor
  • Find and remove the “xsi:” attribute from the Document tag (highlighted in example below)
 
<?xml version="1.0" encoding="UTF-8"?>

- <gpx xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xm Ins: gpxx="http://www.garmin.com/xmlschemas/GpxExten5ions/v3"

xmlns:gpxtpx=”http://www.garmin.com/xmlschemas/TrackPointExtension/vl"

xmlns="http://www.topografix.com/GPX/l/l"
Numero articolo Knowledge

000380759

 
Caricamento
Salesforce Help | Article