insert a image url in BI Publisher template
Add dynamic image to custom print template in BI Publisher
Related Resources:
Here’s an example of a BI Publisher template that incorporates the image URL expression using the ‘uuu_p_urlF’ variable:
XML <?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master master-name="simple" page-height="11in" page-width="8.5in" margin-top="0.5in" margin-bottom="0.5in" margin-left="0.5in" margin-right="0.5in">
<fo:region-body margin-top="0.75in" margin-bottom="0.75in"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="simple">
<fo:flow flow-name="xsl-region-body">
<fo:block>
<!-- Your other content here -->
<!-- Image with dynamic URL -->
<fo:external-graphic src="{concat($uuu_p_urlF, 'companyRegistry=', $uuu_p_companyRegistryF, '&sessionId=', $uuu_p_sessionIdF, '&id=', K__UE_PRS_IMAGE1IP)}" content-width="100%" content-height="auto"/>
<!-- Your other content here -->
</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>
In this template, the
Make sure to replace the placeholder values with the actual variable names and parameter values specific to your scenario.
Note: This template assumes you are using XSL-FO as the output format. If you are using a different output format such as RTF, adjust the template accordingly.
Please adapt this template to your specific requirements and integrate it with your BI Publisher setup.