Summary
PS Multilingual BI publisher template Page break is not working
Content
Dear All,
Am going through something weird on the multi lingual BI publisher report. Am generating XML through PeopleCode. Since my PS is not multi-lingual enabled, am handling those languages in template. Given below is the skeleton of my Template design. I have all languages texts in single RTF in the following order ENG,JPN,SPN and POR.
Repeat For Each Employee data tag group by emplid
if Data exists = Y
if Language=Eng
Print English content
End-If
if Language=JPN
Print Japanese content
End-If
if Language=Spanish - SPN
Print Spanish content
End-If
if Language=Portuguese - POR
Print Portuguese content
End-If
End-if
PageBreak
End-For
XML Structure
<Root>
<Emp_Data>
<Name> </Name>
<Emplid> </Emplid>
<Language> </Language>
..
..
<Merit>
<Merit Inc PCT> 10</Merit Inc PCT>
<Merit Inc Amt> 1000 </Merit inc Amt>
<Currency cd> USD </Currency cd>
</Merit>
<Bonus>
<Bonus Inc PCT> 10</Bonus Inc PCT>
<Bonus Inc Amt> 1000 </Bonus inc Amt>
<Currency cd> USD </Currency cd>
</Bonus>
<Data-Exists>
<Data-Exist>Y</Data-Exist>
</Data-Exists>
</Emp_Data>
</Root>
This design is perfectly working in terms of printing respective language based on the XML data. Issue am facing is whenever Japan employees data printed it is not giving page break.
I have pushed JAPAN text at the end of RTF and tested. So template had languages in following order ENG,SPN,POR and JPN. At this time Japan worked perfectly but SPANISH started having page break issue. So looks like the language that comes at second position end up having page break issue.
Any idea/guidance how to approach such issue will be greatly helpful and appreciated.
Thanks,
Hari.A
Message was edited by: 3375847