Oracle Analytics Publisher

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

dynamic footer in RTF template

Accepted answer
36
Views
4
Comments
User_64MLR
User_64MLR Rank 2 - Community Beginner

Hi, i have a requirement to change the footer based on a value found for each customer account, in particular i have to change the language of footer based on language of account.
in my template i call the footer with <?call@inlines:footer_content?> and in the footer i have
<?template: footer_content?>

<?xdofx:if LANGUAGE='US' then ENG_TEXT else TEXT end if?> <?PHONE?>, <?EMAIL?>

Internet: <?URL?>

<?end template?>

I tried to put it inside a for-each but the result is that in footer i have N footers changing for each customer, but what i want is 1 footer for one customer.
so i put that outside a for-each but what i get is one footer applied for every customer independenty of the language.
TEXT, ENG_TEXT and LANGUAGE are taken from same query group. What can i do to fix this?

Best Answer

  • Kevin M-Oracle
    Kevin M-Oracle Rank 6 - Analytics Lead
    Answer ✓

    If each page is being populated by a for loop, you can try for-each@section:whatever so it updates the footer for each iteration of the loop.

    Rgds,

    Kevin

Answers