Adding KML file in map control by JavaScript API

Discussion created by ammarGomaa on Feb 19, 2013
Latest reply on Apr 16, 2013 by DSwingley-esristaff
I Have kml file and i need to display it into map control by using javascript api.

In this example

kml file already published in server when i replace kml url in server by url in my local disk but not work