Synchronous page numbering when assembling multiple pdf's through assembler | Community
Skip to main content
March 24, 2025
Solved

Synchronous page numbering when assembling multiple pdf's through assembler

  • March 24, 2025
  • 1 reply
  • 652 views

Hi Team,

I have the requirement where I want the page no. in synchronous. Actually, I am using the assembler service to assemble the multiple pdf's. But when generating the resulting pdf its giving the page no. on each pdf specific. for ex. If I assembling 3 pdf,
pdf 1 with page 5

pdf 2 with page 6

pdf 3 with page 10 
then resultant pdf its giving 

page 1 of 5  ... so on n of m ... for first pdf pages

page 1 of 5  ... so on n of m ... for second pages pdf

page 1 of 10 ... so on n of m ... for third pages pdf

 

But I want total of 5+6+10 =21

like page 1 of 21, page 2 of 21 like that

 

any idea how that i can achieve it

Best answer by Amreen1

Hi @amreen1,

Please refer to the below document, which can provide you with all the information you need while working with page numbers.

https://helpx.adobe.com/pdf/aem-forms/6-3/ddxRef.pdf 

 

I believe you can try the below code:

<Page pageNumber="1"> "Your DDX logic" </Page>

Thanks

Pranay


Hi,

My issue has resolved now.Updated DDX file,

 

1 reply

Adobe Employee
March 25, 2025

Hello @amreen1 

 

Can you please add below string in your DDX after PDF source tag and check if the numbers are correct?

<PageNumbering start="1" format="%d" style="arabic"/>

 

PageNumbering defines the starting page number and format.

 

Thanks,

Rahul Pandey

Amreen1Author
March 25, 2025

Hi @rahulpandey27 ,

I am getting below error after adding the mentioned line in DDX,

Here is my DDX file,

 

Adobe Employee
March 25, 2025

Just FYI, my workbench version is 6.5.0.2


Hi @amreen1,

Please refer to the below document, which can provide you with all the information you need while working with page numbers.

https://helpx.adobe.com/pdf/aem-forms/6-3/ddxRef.pdf 

 

I believe you can try the below code:

<Page pageNumber="1"> "Your DDX logic" </Page>

Thanks

Pranay