Select to view content in your preferred language

Featuretable widget csv export bug?

124
0
4 weeks ago
EricO_Neal1
Occasional Contributor

It appears that when exporting a selection set to csv from the FeatureTable widget, it is creating invalid CSV formatting if there is a double quote(s) in a value in any of the fields of the feature service (because export uses outFields: '*'). 

The record will appear in the .csv file, but Excel and ArcGISPro will not be able to parse it.

For example, I had this value in one of my fields that was not showing in the featuretable but still caused an incomplete export: 

"24'6 W C/L OF DEARB

I was able to remedy this by downloading and hosting the API locally, then updating 'convertFeaturesToCSV' function in 4.xy\esri\exports\csv.js

 

 

0 Kudos
0 Replies