Exporting Selected Records from Feature Layer to .CSV File?

Discussion created by ipeebles on Dec 20, 2013
Latest reply on Dec 5, 2017 by jjrsae
I am interested in adding in functionality that allows the user to select records from a feature layer and then have them export them to a .csv file.  I checked the JS API and samples and did not see this functionality.  I do not want a shapefile or feature class exported, just a table.  Users who will be using this will not have an ArcGIS Desktop install.

Has anyone been able to get something like this to work?  Would be very interested in your ideas.  Thanks.