01-18-2022 02:53 PM
Dear community,
Does anyone know how to configure the Worksheet Writer snap to write to a specific folder in Google Drive?
Thank you!
Solved! Go to Solution.
01-19-2022 09:12 AM
You can create a blank spreadsheet in the target google driver folder. And provide this new spreadsheet’s name in your pipeline’s Worksheet writer snap. Provide a valid worksheet name as well. Then you are all good. You can have a pipeline with File Reader + CSV Parser + Worksheet Writer.
01-24-2022 06:49 AM
Hi!
I have a follow-up question. The other source file that I wanted to write from sftp to Google drive is generated daily and the filename has a date on it. How would you handle this scenario?
01-24-2022 09:20 AM
If you know what format the date is in, you can use an expression to replicate it.
"Filename" + Date.now().toLocaleDateTimeString('{"format":"MMYYYY"}')
This should work if run on the same day. If you are running it a day later, you would need to add .minusDays(1)
04-27-2022 11:26 AM
Thank you @dmiller and @smudassir for sharing the insights.
I wasn’t aware of worksheet writer before today, now I’ve been exposed to it.
Thanks a bunch for sharing this…