system.db.exportCSV
Deprecated by system.dataset.exportCSV in 8.1
If using Ignition 8.3, use system.vision.exportCSV instead.
Click here to learn more about system.dataset.exportCSV.Description
Exports the contents of a dataset as a CSV file, prompting the user to save the file to disk. This function works exactly the same as system.dataset.exportCSV.
Syntax
system.dataset.exportCSV(filename, showHeaders, dataset)
-
Parameters
- String
filename- A suggested filename to save as. - boolean
showHeaders- If true (1), the CSV file will include a header row. - Dataset
dataset- The dataset to export.
- String
-
Returns
- String - An Excel-compatible XML-based workbook, with one worksheet per dataset.
-
Scope
- Client