Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
Convert Base64 String to PDF in Netsuite
Hi,
We have a restlet that receives some information from an external system including some data in base64 encoded format. I am trying to get this data and convert it to pdf to save in file cabinet, but I am unable to decode the base64 string. The method I am using is 'atob', but it is giving me below error. ReferenceError: "atob" is not defined.
Is there another function used foe decoding base64 string? I am trying to decode the base64 string and save it in file cabinet and on SO as a pdf.
Thanks,