Forum

Jennifer Häfner
Moderator
    Has successfully completed the online course Intermediate (200)
    Has successfully completed the online course Advanced (300)
    Has successfully completed the online course Basics (100)
    Has successfully completed the online course Advanced (310)
    Has successfully completed the online course Advanced (320)
    Has successfully completed the Intermediate Certification
    Has successfully completed the Advanced Certification
2 years, 8 months ago #36560
Up
0
Down
::

In the parameter ‘data’, you need a two-dimensional array with the first entry being the key (header) of the csv data, and the second being the values.

For example: in your csv, you have data in the form ‘name’, ‘city’.

name,city
John,Washington
Eva,Berlin
Ben,London

To write a new entry, you need to add all current values as well as the new values to the parameter ‘data’:

[["name","city"],["John","Washington"],["Eva","Berlin"],["Ben","London"],["Tara","Stockholm"]]

This will overwrite the file in the CSV connector, but you can still download the original file in your app’s assets section.

 

If you want to export data from a table in csv/xslx format, you can use our new widget ‘TableEnhanced’ that we have just added to our Standard Content. This widget has an export button that automatically exports the visible table data as csv/xslx.