Loading

Salesforce Maps: Modify KML Files That Fail to Display

Data pubblicazione: Aug 18, 2026
Descrizione

KML files can be displayed in Salesforce Maps, but sometimes a KML file does not display anything when loaded. This article explains why this happens and how to fix it.

Risoluzione

This article explains why a KML file might fail to display in Salesforce Maps and how to fix it. As an alternative to using KML files, you can also review Get Started with the Maps Connector for ArcGIS.

Common Causes of KML Files Not Displaying

  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 it 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++.

How to Fix a Missing Attribute in a KML File

  1. Move the file to your desktop.
  2. Right click the file and select Open With the text editor.
  3. Find and remove the "xsi:" attribute from the Document tag. The example below shows the attribute (xmlns:xsi) that needs to be removed.
<?xml version="1.0" encoding="UTF-8"?>

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

xmlns:gpxx="http://www.garmin.com/xmlschemas/GpxExtensions/v3"

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

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

000380759

 
Caricamento
Salesforce Help | Article