Skip to main content

Add a logo stored in FA Back

Overview

You can use a logo stored in FA Back's document bank when designing a report in jsreport. The logo is sent to the jsreport environment each time a report is generated. For more information about how to upload a logo in FA Back, see Preference - Reportingin FA Back reference.

The next step is to configure the report to use the provided logo.

Set the tag on the report template

Make the logo available in the report by selecting the param-logoImage tag in the template properties.

logoImage-tag.PNG

Add the logo in the HTML template

The logo is provided as a string representing a base64-encoded byte array. Use the code below to display the logo in the report template.

<img src="data:image/png;base64,{{params.param-logoImage}}" />