Consider base64Content as array containing Base64-encoded strings
Tag: Base 64 encode
Encode a file to Base64-encoded string from file internal id using SuiteScript.
QR Code compatible with Zakat Tax and Customs Authority
While using the below code for the QR code. The only problem is that there is a message saying it is not compatible with Zakat Tax and Customs Authority. Solution: We need to encode the data as per the Zakat Tax and Customs Authority documentation. Below is the code for encoding data as per the… Continue reading QR Code compatible with Zakat Tax and Customs Authority
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.