vennila ramasamy
10/16/2023, 9:03 AMlet fileObj = file.load({id: fileId});
const iterator = fileObj.lines.iterator();
//skip the header
iterator.each(function () {
return false;
});
let newContents = '';
iterator.each(function (line) {
newContents += line.value;
});
log.debug(newContents);
But it returns only one line after the header not all the lines. what am i doing wrong?battk
10/16/2023, 9:12 AMvennila ramasamy
10/16/2023, 10:16 AMCD
10/16/2023, 10:17 AMvennila ramasamy
10/16/2023, 10:28 AM