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
battk
11/08/2019, 10:49 AM
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
SMNCP
11/08/2019, 11:20 AM
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
battk
11/08/2019, 11:23 AM
unlikely using xlsx
battk
11/08/2019, 11:23 AM
those are zipped
battk
11/08/2019, 11:23 AM
if you want, your best chance in suitescript sheetjs
battk
11/08/2019, 11:24 AM
i personally would recommend not doing the work in suitescript
s
SMNCP
11/08/2019, 11:31 AM
I have never worked on SheetJs. Do you have a sample/references for the same, it would be helpful for me.
b
battk
11/08/2019, 11:32 AM
nothing for you, its the only thing i know of that manipulates excel files from javascript