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 69,639 Super User 2024 Season 2 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,744 Moderator 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.

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,524 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,493 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans