Adding a Dynamic Image in the Custom Report Template

To add images, from within Unifier, to the Custom Report template:

  1. 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.

  2. Right-click the dummy image, 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>)}

In the Description, you can access the image by entering the complete path to the image or by using .// to look for the image in the Data Model.

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).

Note: If the Data Model includes multiple levels, you must add each level to the path; for example, use: .//<level1>/<level2>.../<PROJECTIMAGE>

Additional Information

In Cloud deployment, you can use the "uuu_p_tenantIdF" data element for passing the user ID to the Oracle Analytics Server report. This will include the required URL needed for accessing the image file, in the Oracle Analytics Server report. For legacy Oracle Analytics Server reports, in Cloud or On-premises deployments, you can continue to use the following data elements for passing the user ID to the Oracle Analytics Server report:



Last Published Friday, April 11, 2025