BI Publisher (MOSC)

MOSC Banner

Implement a dynamic logo/image in the header of an rtf template

edited May 31, 2016 5:03AM in BI Publisher (MOSC) 4 commentsAnswered

Hello,

I am trying to implement a dynamic logo in the header of an rtf template.

The idea was to insert an image and resize to say 0.5" x 1.5" and then in the Alt Text enter something to the effect:

url:{concat(substr($CURRENT_SERVER_URL, 1, instr($CURRENT_SERVER_URL, ‘/’, 8,1)-1),'/analyticsRes/my_images','/',IMGFILE)}

So basically take the server URL, extract the host+port and append the /analyticsRes/my_images/ and concat that with IMGFILE which is coming from the data model.

Two Issues:

1. For initial testing, when I try to embed this image in the body section of the template, it seems that the Alt Text section doesn't like the above url construct which uses the $CURRENT_SERVER_URL stuff. If I were to hard-code the full directory path instead of the analyticsRes path, this part works.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center