Join Slack
Powered by
Convert it to base64 using <btoa> then create an i...
# suitescript
a
Alan Fitch
08/10/2021, 1:15 AM
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
Alan Fitch
08/10/2021, 1:19 AM
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
Open in Slack
Previous
Next