Convert it to base64 using <btoa> then create an i...
# suitescript
a
Convert it to base64 using btoa then create an inline html field with the default value
<img src="data:image/png;base64, ${data}" alt="not found" >
Replace
${data}
with the string.
👀 1
I now remember that you don't have btoa in suitescript. However this answer on stackoverflow.com has a class that I've used in the past.
✅ 1