Search This Blog

Tuesday, 22 January 2013

Dynamically calling a logo from OA_MEDIA In XML


Dynamically calling a logo from OA_MEDIA


In the previous lesson we learnt how to insert a logo statically but in this lesson we are going learn how to insert a logo dynamically.
OA Media Directory Reference
Note: This method only applies to Oracle E-Business Suite Installations.
  1. Insert a dummy image in our template
  2. In the Format Picture dialog box select web tab. Enter the following syntax in the Alternative Text region to reference the OA_MEDIA directory:
                                                                   url:{‘${OA_MEDIA}/< image_name>’}
For example, enter
                                                                   url:{‘${OA_MEDIA}/ORACLE_LOGO.gif’}


We can see step by step process.
Our previous lesson RTF is shown below with static logo. Here the logo which acts as dummy

Give double click on logo then we will get below window

From the above picture we can see there is web tab. Click on web tab then we can see below window


In the Alternative text we are going to write OA_MEDIA directory which is shown below


We had written

Now we have to publish the report

Click on Template Builder => Preview => HTML/PDF/Excel/RTF (any format).
We can get below output


In this way we can insert a logo dynamically

No comments:

Post a Comment