Adding a Dynamic Image in the Custom Report Template
To add images, from within Unifier, to the Custom Report template:
- Create form fields in the .rtf file, corresponding to the following parameters:
<?variable@begin:uuu_p_urlF;(.//uuu_p_urlF)[1]?>
<?variable@begin:uuu_p_sessionIdF;(.//uuu_p_sessionIdF)[1]?>
<?variable@begin:uuu_p_companyRegistryF;(.//uuu_p_companyRegistryF)[1]?>
<?variable@begin:uuu_p_tenantIdF;(.//uuu_p_tenantIdF)[1]?>
Note: The
uuu_p_*
is a predefined parameter in the data model.
- Right-click the dummy image and select Size and provide the following value in the Description field of the AltText information for the image:
Description: url:{concat($uuu_p_urlF,'companyRegistry=',$uuu_p_companyRegistryF,'&sessionId=',$uuu_p_sessionIdF,'&id=',PROJECTIMAGE)}
For example, you must replace the <PROJECTIMAGE> data element, in the above URL value, with the image element taken from your sample data XML. See Sample XML Data for Custom Templates (Custom Prints and Reports).
Additional Information
In Cloud deployment, you can use the "uuu_p_tenantIdF
" data element for passing the user ID to the BI Publisher/Oracle Analytics Publisher report. This will include the required URL needed for accessing the image file, in the BI Publisher/Oracle Analytics Publisher report. For legacy BI Publisher/Oracle Analytics Publisher reports, in Cloud or On-premises deployments, you can continue to use the following data elements for passing the user ID to the BI Publisher/Oracle Analytics Publisher report:
uuu_p_urlF
uuu_sessionIdF
uuu_p_companyRegistry
Last Published Tuesday, December 12, 2023