BI Publisher (MOSC)

MOSC Banner

Using multiple templates in Bursting control file based on a field value

edited Apr 24, 2014 12:00PM in BI Publisher (MOSC) 1 commentAnswered

Hi,

I am using the below control file. Can I specify 2 templates (English and French) and print based on employee language preference (field in the data XML: PREF_LANG)

So if PREF_LANG='EN' then English template and if PREF_LANG='FR' then French template.

***START of BURSTING FILE***

<?xml version="1.0" encoding="UTF-8"?>

<xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi" type="bursting">

<xapi:request select="/XXXHRCABEN/LIST_G_BEN_STMT/G_BEN_STMT">

<xapi:delivery>

  <xapi:print id="PRINT_DELIVERY"     printer="ipp://10.100.208.46/ipp/hold" copies="1" />

</xapi:delivery>

<xapi:document output="${EMPL_NUMBER}" output-type="pdf" delivery="PRINT_DELIVERY">

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