Skip to main content


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 61,229 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)
  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,718 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

Contextual content recommendations & SharePoint Q&A

Instantly access relevant sales materials…

Beyond the DRA Cloud Label Printing

Explore cloud-based label printing within Dynamics 365…

HR Infrastructure Customer merge

Important considerations for HR Customer migrations…


Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,418 Super User

Martin Dráb Profile Picture

Martin Dráb 223,760 Super User

nmaenpaa Profile Picture

nmaenpaa 101,142

Featured topics

Product updates

Dynamics 365 release plans