Categories
- All Categories
- 121 Oracle Analytics News
- 21 Oracle Analytics Videos
- 14.4K Oracle Analytics Forums
- 5.5K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 47 Oracle Analytics Trainings
- 7 Oracle Analytics Data Visualizations Challenge
- 4 Oracle Analytics Career
- 8 Oracle Analytics Industry
- Find Partners
- For Partners
Page Numbers are not incrementing sequentially.

Hello all,
Am working on a requirement in which I have a header to be repeated dynamically I have used <?start:body?> and <?end body?> and able to achieve it but we should use for each section for group that should be repeated
Assuming there is a two level hierarchy in the xml, I want the value for level1 to be repeated across pages, if data in level2 overflows. This can be achieved with the <?for-each@section:LEVEL?>
command
<?for-each@section:LEVEL1?><?for-each:LEVEL2?><?name?><?end for-each?><?end for-each?>
Since I used <?for-each@section page numbers are incrementing section wise but not page wise I have also enabled page number format as continue from previous section but no luck.
Please share your inputs.
Thanks,
Bhavani
Answers
-
@Bhavani Rikkula - Go to page footer and copy and paste the below script.
<?fo:page-number?> of <?fo:page-number-citation:xdofo:lastpage-joinseq?>
<fo:page-number>: This is the object, which is used to represent the current page-number.
<?fo:page-number-citation:xdofo:lastpage-joinseq?>: This is the syntax, which is used to represent the total number of pages.
See this helps in achieving your requirement.0 -
Hi Sumanth,
Tried this but issue remains same.
Thanks,
Bhavani
0 -
@Bhavani Rikkula - Ensure that the
<?page-number?>
and<?total-page-count?>
fields are placed in the header or footer, which is outside the<?for-each@section?>
construct.The page numbering should continue across sections because the
@section
attribute will not influence the page numbers placed in the header or footer if it's defined outside.0 -
Hi Suman,
I have placed <?page-number?> and <?total-page-count?> in header but it is not printing anything.
Thanks,
Bhavani
0 -
@Bhavani Rikkula - Please share the screen shot of the template showing how the <?page-number?> and <?total-page-count?> has been placed. Thanks.
0 -
Hi Sumanth,
Sharing you the screenshot.
Thanks,
Bhavani
0 -
@Bhavani Rikkula - Please try below steps:
- Place the cursor where you want the page number to appear.
- Go to
Insert
>Quick Parts
>Field
.
- In the Field dialog box, select
Page
from the field names list.
- Click
OK
to insert the page number field.
- Then use the below BI Publisher code and check once.
Page <?page-number?> of <?page-total?>
0 -
Hi Sumanth,
Tried it issue persists.
Thanks,
Bhavani
0 -
Hi @Bhavani Rikkula,
you need to use the place holder and then set the page numbers. use below for more information.
Regards,
Arjun
0 -
Hi Arjun,
I tried this before even formatted page numbers to print it from previous section but issue remains same.
Thanks,
Bhavani
0