I’m configuring the logo in the header of my Appian HTML code by using a constant value that holds the image. In the <img> tag, I am specifying the source as this constant value.
<img>
<img logoId="&document(cons!EX_LOGO,"id")&">but it is not displaying image in pdf.Please give me any suggesstions,Thanks.
Discussion posts and replies are publicly visible
Hi laxmipavanik0001 ,
You cannot use document function in html code to convert that to pdfs. Convert the document to base 64 format and then use that base 64 string in the image tag.
Example: <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4 //8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==" alt="Red dot" />