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