Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and 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,
0