Refer LOGO location from XML
Follow the below steps for ‘Refer LOGO location from XML’
- Insert a dummy image in our
template.
- In the format picture dialog
box select the web tab. Enter the following syntax in the Alternative
text region to reference the image URL:
url: {IMAGE_LOCATION}.
Where IMAGE_LOCATION is an element from our XML file
that holds the full URL to the image .
We can also
build a URL based on multiple elements at runtime. Just use the Concat function
to build the URL string. For example:
url: {concat(SERVER,’ / ‘,IMAGE_DIR,’ /
‘,IMAGE_FILE)}
This method can also be used with the OA_MEDIA
reference as follows
url: {concat{‘${OA_MEDIA}’ , ‘ / ‘,IMAGE_FILE)}
No comments:
Post a Comment