Page 1 of 1

Using expression to set an image

Posted: Tue Nov 27, 2018 11:20 am
by NedShopov
Hello all,
So i have an image encoded as base64 string on my json datasource. I am trying to make an image expression in order to set the image component to the one passed on the json or to a default one if the json property is empty string.
{(Details.LogoImage != "") ? Details.LogoImage : imagenotonfile}.
Where imagenotonfile is an image variable. It is not working, so obviously I am doing something wrong. What is the proper way of setting this expression?

Re: Using expression to set an image

Posted: Wed Nov 28, 2018 8:18 am
by Lech Kulikowski
Hello,

Please send us a sample report with test data which reproduces the issue for analysis

Thank you.