JSON datasource with image as base64 string

Hello


I am trying to show a picture in a Report.

The connection type is JSON, and the picture is a base64 encoded string.

But the picture is not displayed 😕



Thanks for your help!

Christian

Comments

  • Hi you might already found a solution for yourself, but I want to add mine just in case. You can actually Right click on the JSON table then click on new Calculated Column and on the property panel of the new calculated column, set DataType to Byte[], expand the Expression popup editor and type in

    Convert.FromBase64String([JSON.item.Image]) whereas JSON.item.Image is your Base64 string column

Leave a Comment