Oracle Analytics Cloud and Server

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

different header part in every 2nd , 3rd and last page

Received Response
183
Views
20
Comments
mist123
mist123 Rank 4 - Community Specialist

Summary

different header part in every 2nd , 3rd and last page

Content

Hi All,

 

I am developing EBS rtf template to print in PDF output.

So ,i need to display different header part in every 2nd , 3rd and last page.

how to do this ?

 

Thanks

Tagged:
«1

Answers

  • YGUTTIKONDA
    YGUTTIKONDA Rank 6 - Analytics Lead

    Hello,

    try creating conditional headers ... check the below blog post for more info

    https://blogs.oracle.com/xmlpublisher/conditional-headers

    Hope this helps

    --YG

  • mist123
    mist123 Rank 4 - Community Specialist

    Hi Thanks for your reply.

    Actually i don't have any specific condition to display header parts for 1st and 2nd page.

    any samples on this that would be great

  • YGUTTIKONDA
    YGUTTIKONDA Rank 6 - Analytics Lead

    Hello ,

    Follow thru the link and even tough you do not have conditions .. you can use the same logic

    how do you determine what goes into 2 nd, 3rd and last page ? what is the total pages of the output ?

  • mist123
    mist123 Rank 4 - Community Specialist

    It would be great if any sample rtf template files.

  • mist123
    mist123 Rank 4 - Community Specialist

    Hi Thanks for your help!

    Expected out and i don;t have any Total Page output.

    Inv Org      :Pick Slip    :                                                                             Page: 1 of 1Order Number :Order Number             Order Type        Pick Slip No           CarrierCust. Date                   Delivery Number Line No        Item No    Qty   Amount------------------------------------------------------------------------------------------------------------------------------------Inv Org      :Pick Slip    :                                                                             Page: 2 of 2Order Number :Line No        Item No    Qty   Amount

    Thanks

  • mist123
    mist123 Rank 4 - Community Specialist

    Could any one help me on this?

  • mist123
    mist123 Rank 4 - Community Specialist

    Like this?

    <?start:body?>

    <?call-template:header_details?>  --->for page1??

    <?call-template:header_details1?> --->for page2??

      <?call-template:header_details2?>--->for page3??

    <?for-each@section:XMLELEMENT?>

    <?call-template:line_details?>

    <?end for-each?>

    <?end body?>

    Please correct me!

  • mist123
    mist123 Rank 4 - Community Specialist

    Thanks for your help.

    Can you please help me where & how to add the above code in the below sample file?

    Thanks again,

  • mist123
    mist123 Rank 4 - Community Specialist
    3591335 wrote:How many pages are there ....how you want to use and what do u mean by 2,3 and last page.

    I will have max 3 pages lines data for one Order Number.

    I have header and lines data only  , i don';t have total amount (ex: Total on last page).

    Ex:

    Page 1of 1

    Order Number

    1234

    Order Date

    <?Order_Date?>

    Order Total

    <?Order_Tot?>

    Cust Name

    <?cust_name?>

    Line No

    Line Total

    Line Desc

    <?line?>

    <?Line_Tot?>

    <?Line_Desc?>

    Page 2of 2

    Order Number

    1234

    Line No

    Line Total

    Line Desc

    <?line?>

    <?Line_Tot?>

    <?Line_Desc?>

    Page 3of 3

    Order Number

    1234

    Line No

    Line Total

    Line Desc

    <?line?>

    <?Line_Tot?>

    <?Line_Desc?>

  • Dir_Pal
    Dir_Pal Rank 6 - Analytics Lead

    Y don`t you create a sub template and call that template each page you want to display