I have requirement to create csv file from a reports and save this file in the file cabinet folder by Suite Script. Is it possible to do so. can reports be exported into csv file by script.
Asked
Active
Viewed 351 times
1 Answers
0
An example of how to do it:
var csvFile=file.create({ name:'test.csv', contents:'xxxx', folder:folderId, fileType:'CSV' });
csvFile.save();

Camilo Castellano
- 66
- 2
-
Yes this will create csv file, but can we use this to create csv file for reports. – Aashi Mar 17 '21 at 02:00