Select to view content in your preferred language

Exporting Selected Records from Feature Layer into a .xlxs or .csv File?

700
2
07-26-2013 11:36 AM
IanPeebles
Frequent Contributor
I am looking to add functionality that allows a user to export records from a selected set of records from a feature layer.  Has anyone incorporated this functionality?  I have not seen any samples.  I do not want to export to shapefiles, because this will be for users without a ArcGIS Desktop install.  Anyone have any ideas?  Thanks.
0 Kudos
2 Replies
JeffJacobson
Frequent Contributor
I am looking to add functionality that allows a user to export records from a selected set of records from a feature layer.  Has anyone incorporated this functionality?  I have not seen any samples.  I do not want to export to shapefiles, because this will be for users without a ArcGIS Desktop install.  Anyone have any ideas?  Thanks.


I wrote something sort of like that. You would need to modify this code to handle the geometry objects, though.
0 Kudos
ShreyasVakil
Frequent Contributor
You can take a look into this export item operation from REST API which can output csv and shapefile.

Update: it'll only work for hosted feature service.
0 Kudos