0% found this document useful (0 votes)
638 views

Dynamic Image in XML Publisher

This document discusses how to dynamically display images in XML Publisher reports. It provides two examples of inserting a placeholder image in an RTF template and specifying the dynamic image path in the alternative text field. The path uses variables like $OA_MEDIA to reference the image location. A second example shows how to dynamically display a signature image by concatenating variables to construct the image name and path. The document also provides an example for XML Publisher in older Microsoft Office 2003 versions.

Uploaded by

Ravikant Yadav
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
638 views

Dynamic Image in XML Publisher

This document discusses how to dynamically display images in XML Publisher reports. It provides two examples of inserting a placeholder image in an RTF template and specifying the dynamic image path in the alternative text field. The path uses variables like $OA_MEDIA to reference the image location. A second example shows how to dynamically display a signature image by concatenating variables to construct the image name and path. The document also provides an example for XML Publisher in older Microsoft Office 2003 versions.

Uploaded by

Ravikant Yadav
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

Displaying image dynamically in XML Publisher

Overview:
While working with XML Publisher reports it is very important to handle the images appearing in the
report layout. Since the client requirements for different modules of the report could differ while
reporting. It is essential to handle the logos and the images dynamically in the report according to the
reporting requirements. In other words, if the client wants to use same report with different logos in
various reporting entities then we need to handle the images in the layout template at the report
execution/run time.

Below two examples will demonstrate displaying image dynamically in XML publisher in Microsoft Office
2007 and onwards version.

e.g. 1)

Displaying Company logo image dynamically in XML Publisher (BI Tools) in RTF Template:
i) Insert any dummy placeholder image in RTF template (Insert Picture)
ii) Right click on image and click “Size” then goto “AltText” tab and enter dynamic path in
“Alternative Text” field e.g. url:{concat('${OA_MEDIA}','/XX_Logo.jpg')}.
$OA_MEDIA path TOP is actual path in Oracle App instance where images are stored.
DBA may help to get $OA_MEDIA Top path to upload XX_Logo.jpg file.

e.g. 2)

Displaying images (eg: a Signature) dynamically in XML Publisher (BI tolls) RTF template
i) Insert any dummy placeholder image in RTF template (Insert Picture)
ii) Right click on image and click “Size” then goto “AltText” tab and enter dynamic path in
“Alternative Text” field e.g. url:{concat('$
{OA_MEDIA}/XX_buyer_',/PO_DATA/DOCUMENT_BUYER_FIRST_NAME ,'_',/PO_DATA/D
OCUMENT_BUYER_LAST_NAME ,'.jpg')}
$OA_MEDIA path TOP is actual path in Oracle App instance where images are stored.
DBA may help to get $OA_MEDIA Top path to upload buyer’s signature file.

Below examples will demonstrate displaying image dynamically in XML publisher in Microsoft Office
2003 which obsolete in MS office 2007 and onward versions.

URL Reference to be added to the dummy image in the template:

1. Insert a dummy image in your template.


2. In Microsoft Word's Format Picture dialog box select the Web tab. Enter the
following syntax in the Alternative text region to reference the image URL:
url:{'http://image location'}
For example, enter:
url:{'http://www.oracle.com/images/ora_log.gif'}

= = = = = = = = = = = = = = = = = = = = = =O O O = = = = = = = = = = = = = = = = = = = = = = = =

You might also like