Oracle Analytics Publisher

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

BI Publisher RTF Template, the Tag:"if then else" create return carriage in Word, I do not want them

Accepted answer
174
Views
3
Comments

BI Publisher RFT Template, I am using in a table some images, for one row of this table I have one image after the previous one, 17 consecutive images.
The visualization of this image are conditioned by the use of if TAG:

<?if:number(B1_SDG_1)=1?> image<?end if?> <?if:number(B1_SDG_2)=1?> image2<?end if?> etc etc for 17 images.

image.png

"C" contains <?if:number(B1_SDG_1)=1?> and "EC" contains <?end if?> .
In the dataset I have 17 of this fields: B1_SDG_1, B1_SDG_2, B1_SDG_3….
For one record I have for example only B1_SDG_1 and B1_SDG_2 valorized to 1 the result was almost good, because only two images are showed, but there are return carriages between them, I have seen at the end there are 17 return carriages in the table row….
How can avoid this result ? I think are the if tags that give the return carriage in the result of the execution of the report, how can I avoid this result:

image.png

and see this:

image.png

Thanks!!

Fabio

Best Answer

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

    Hi Fabio,

    I used if@inlines for each condition.

    The elements all lined up on a single row.

    Ex: <?if:number(B1_SDG_1)=1?> was changed to <?if@inlines:number(B1_SDG_1)=1?>

    Rgds,

    Kevin

Answers