web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

base64 bigtext in cloud

(0) ShareShare
ReportReport
Posted on by

I have a bigtext variable base64 encoded. I know the way to get it converted to a blob on premise, using dotnet, but I can't find the way in cloud (saas).Maybe an azure function using the same dotnet libraries?

  • Suggested answer
    IB-29041624-0 Profile Picture
    1,191 Moderator on at

    In the cloud you can use the codeunit tempblob.

    And in version 19 you have also got support for handling azure blob storage from within AL.

    docs.microsoft.com/.../module-integrate-azure-blob-service-rest-api

    https://docs.microsoft.com/en-us/learn/modules/introduction-basics-file-management/3-temp-blob-object

  • op2000 Profile Picture
    on at

    Thanks for your contribution, but the part of writing a blob is clear, what's not clear is how to convert a base64 bigtext into a stream, or a blob. The function FromBase64 of codeunit "Base64 Convert" accepts only text (2,048 chars), and I have files of 50k chars

  • Suggested answer
    IB-29041624-0 Profile Picture
    1,191 Moderator on at

    In that case an Azure function should be the way to go.

  • op2000 Profile Picture
    on at

    Many thanks for the confirmation

    Regards

    Fabio

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.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 554 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 344 Super User 2026 Season 2

#3
Teagen Boll Profile Picture

Teagen Boll 189 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans