Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Suggested answer

how to create image from encoded text

Posted on by 10
i am getting Encoded text from API response. which i have to convert to Image. Please help.
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 64,563 Super User on at
    how to create image from encoded text
    Hi, I made a simple example, hope it can give you some help.
    Dynamics 365 Business Central: How to import/create item picture from encoded text (Base64 String)
    https://yzhums.com/39193/
     
    Thanks.
    ZHU
  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,722 Super User on at
    how to create image from encoded text
    You can use the "Base64 Convert" codeunit to convert the response to or from a base64 encoded string.
    Then you can save the base64 encoded string in a blob field using streams.
     
    Please circle back if you need more details.

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... 288,584 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,864 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans