Hello all,
it is passible to change the separator for the csv export in the attribute table widget in Web App Builder? e.g., by changing web map application scipt, ...
Now, only comma separator is available.
Thanks in advance.
Martin
Martin,
Sorry I see the attribute table widget uses a different file E:\___SW\arcgis-web-appbuilder-2.2\WebAppBuilderForArcGIS\server\apps\5\jimu.js\CSVUtils.js (lines 135 and 153).
I've tested and changing both files, it works for me. I would like if someone knows if the separator can be changed in Web appbuilder arcgis online version, because these files doesn't exists.
Hi Robert,
thank you very much, this is exactly what I needed!
I apologize for my wrong understanding...
Now, in the right script, if I change parts that you mentioned (red circles), it has no effect on csv formát. Do I rewrote the correct values or format?
You can not make code changes like this unless you are using the un-minified code from the WAB Deve Edition.
thank you for your replay. Unfortunatelly, I cant find the same path as you described. I find "createCSVString function" only under path below, but i ques it is wrong js file. Could you please specify in more detail where could be located export.Utils.js file?
c:\Program Files\ArcGIS\Portal\apps\webappbuilder\stemapp\widgets\AttributeTable\Widget.js
In the [install dir]\server\apps\[app#]\jimu.js\exportUtils.js createCSVString function (line 333):
Change
comma <SPAN class="operator token">=</SPAN> <SPAN class="string token">','</SPAN><SPAN class="punctuation token">;</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN></SPAN>
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.