Adding a Dynamic Image in the Custom Print Template
To add images from within Unifier to the Custom Print 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=',BPIMAGE)}
For example, you must replace the <BPIMAGE> data element, in the above URL value, with the image file ID "k__<image element>" from the sample XML. See Sample XML Data for Custom Templates (Custom Prints and Reports).
Last Published Friday, February 2, 2024