Hello, has anyone ever successfully unzipped a fil...
# suitescript
j
Hello, has anyone ever successfully unzipped a file via ss2.0? So the idea is to create a suitelet which will allow users to upload a zip file and on submit, the script will unzip the file and do some custom processing. The folder structure of the zip is pretty simple - 1 folder with many images within it NS have an Advanced Add feature but we wanted to do some auto-post processing of those files right after upload.
u
Have you tried looking at JSZip? https://stuk.github.io/jszip/ This should be able to handle your concern since it is supported in SS2.0 but the thing is that it consumed a lot of instruction count. So you might want to consider using an MR script to handle it
❤️ 1
but be careful using this library, on my experience, it have hit the instruction count limit on reduce a lot of time depending on the number of files
❤️ 1
j
Thanks @クリスピポテト 😘