Exports the contents of a dataset as a CSV file, prompting the user to save the file to disk. To write silently to a file, you cannot use the dataset.export* functions. Instead, use the toCSV() function.
|Client permissions restrictions|
system.dataset.exportCSV(filename, showHeaders, dataset)
String filename - A suggested filename to save as.
Boolean showHeaders - If true, the CSV file will include a header row.
Dataset dataset - The dataset to export.
String - The path to the saved file, or None if the action was canceled by the user.
system dataset exportCSV, dataset.exportCSV