NetSuite does convert Base64 image data to a JPEG file in the file cabinet automatically. I have tried different methods to decode the base 64 encoded image data. Failed to save the image data to a folder created in file cabinet. solution: Use N/encode module, in file.create() use “file.Encoding.BASE_64” for encoding type. Instead of trying… Continue reading Convert Base 64 encoded image data to a JPEG and encoded PDF file in to the File cabinet.