Notifications
Announcements
No record found.
hello everyone,
How can I convert base64 to image using Blob field. Can someone provide me the code for it.?
hi,
Can you try this?
var Media: Record "Tenant Media"; Base64: Codeunit "Base64 Convert"; Mime: Text; instr: Instream; begin Clear(output); Clear(Media); if Media.get(mediafield.MediaId) then BEGIN Media.CalcFields(Content); if Media.Content.HasValue then begin Clear(instr); Media.Content.CreateInStream(instr, TextEncoding::WINDOWS); output := Base64.ToBase64(instr); end; end;
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
OussamaSabbouh 3,229
Jainam M. Kothari 1,867 Super User 2025 Season 2
YUN ZHU 1,153 Super User 2025 Season 2