Skip to Main Content

Analytics Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

show image in static text based on presentation variable

dhaesejanSep 13 2022

Hi,

We are on OAS and I'm trying to show an image in a static text within a report, based on a presentation variable.
My presentation variable can be Jim or Kim (or null).
So what I want is this:
case
when '@{presvar}' = 'Jim'
then <img src="/analyticsRes/customImages/exampleJim.jpg"
when '@{presvar}' = 'Kim'
then <img src="/analyticsRes/customImages/exampleKim.jpg"
end

How can I write this in html?
Thanks for the help!

Comments