function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Subin BabuSubin Babu 

error importing to map polygon object field service

Hi All I am trying to import polygon into the map polygon object.But getting below error how so ever I provide the kml data..please assist

FIELD_CUSTOM_VALIDATION_EXCEPTION:Polygon KML data structure is invalid:--

using the below csv file


color,name,sname,kml
red,Dublin,Dublin,"<?xml version=""1.0"" encoding=""UTF-8""?><kml xmlns=""http://www.opengis.net/kml/2.2""><Style id=""CavanStyle""><LineStyle><width>1</width></LineStyle><PolyStyle><color>807A6E54</color></PolyStyle></Style><Placemark><name>Cavan</name><styleUrl>#CavanStyle</styleUrl><Polygon><outerBoundaryIs><LinearRing><coordinates>-7.371984476843181,53.9968403901206,0-7.377391810217205,53.98548672788766,0-7.347694392004314,53.979076849473344,0-7.352844233312908,53.99512492415004,0-7.371984476843181,53.9968403901206,0</coordinates></LinearRing></outerBoundaryIs></Polygon></Placemark></kml>"