Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Answered

Base64Convert.ToBase64()

Posted on by 20
Hi, 

I am having a problem with the ToBase64() function. When I send text or an InStream to encode, it returns different Base64 results. With the input stream, I am getting an extra character, /�/, at the end.

Categories:
  • YUN ZHU Profile Picture
    YUN ZHU 63,992 Super User on at
    Base64Convert.ToBase64()
    Hi, hope the following can give you some hints.
    Dynamics 365 Business Central: How to convert Image (item picture) to encoded text (Base64 String) via AL
     
     
    Thanks.
    ZHU

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,835 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,526 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans