Read KML files using ArcGIS API for JavaScript

Discussion created by on Jul 15, 2013
Latest reply on Jul 16, 2013 by
I need a function that my application reads a user upload KML file and displays on the Esri gray canvas map.
I spotted that there is the KMLLayer class but it works only the KML file is accessible via a public URL.
I think I can save user's file on our server first and then display the KML file later.
But I am wondering there is a way that read the file first (the client side) and then save the file later.

Thanks in advance,