Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

I can convert a base64 image to a PNG image and save the file in a custom table.

Ariomar de Deus
Tera Contributor

I have a request that requires me to convert a base64 image to a PNG image and save the file in a table.

I have a field in the catalog item that contains my base64 image. I need to convert this field to a PNG image and save it in a spreadsheet. However, I don't know how.
Could someone help me with this script?

1 REPLY 1

Rafael Batistot
Kilo Patron

Hi @Ariomar de Deus 

 

This post might help you 

 

https://www.servicenow.com/community/developer-articles/post-an-image-base64-encoded-string-directly...

If you found this response helpful, please mark it as Helpful. If it fully answered your question, consider marking it as Correct. Doing so helps other users find accurate and useful information more easily.