Hi All, I'm working with excel file in File Cabine...
# suitescript
s
Hi All, I'm working with excel file in File Cabinet. Need to know if there is any standard Suitescript 2.0 api's or javascript methods to decode and encode the file content using BASE64. ??? Can anyone suggest me the best way to achieve the same? Thanks.
b
you can use N/encode. My warning to you is that it is a waste of time to use it on binary content. only use it on a file that is text
s
I wanted to access an excel file which is on the file cabinet (read the content from excel sheet, process it and update new columns in the same xlsx file), is there any way I can do using suitescript 2.0 ??
b
unlikely using xlsx
those are zipped
if you want, your best chance in suitescript sheetjs
i personally would recommend not doing the work in suitescript
s
I have never worked on SheetJs. Do you have a sample/references for the same, it would be helpful for me.
b
nothing for you, its the only thing i know of that manipulates excel files from javascript