Scenario: Adding search details to a new text file. Search details are converting to string and saving that file.
Tag: save file in file cabinet
Convert Base 64 encoded image data to a JPEG and encoded PDF file in to the File cabinet.
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.