generateCSV (deprecated)
generateCSV
was deprecated in version 4.28.0 of the JourneyApps Container and replaced with CSV
.
Version compatibility
generateCSV
was introduced in version 4.25.0 of the JourneyApps Container.
Format
Parameter | Details |
---|---|
| One of:
|
| Object with the following properties:
Defaults to |
Returns: the generated CSV as a string.
Examples
main.js
In this case, csv_file
is:
csv_file.csv
Suppose we have an asset
data model object with (amongst others) name
and cost
as fields, and we want to generate CSV for all assets and their names and costs:
main.js
Last updated