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
Solved! Go to Solution.
Views
Replies
Total Likes
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
Views
Replies
Total Likes
@Amreen1 , We wanted to check if the solution we provided by @rahulpandey27 was helpful in resolving your issue. If everything is working fine now, that’s great! However, if you’re still experiencing any difficulties or need further assistance, let us know. Thanks!
Views
Replies
Total Likes
Hi @rahulpandey27 ,
I am getting below error after adding the mentioned line in DDX,
Here is my DDX file,
Views
Replies
Total Likes
Just FYI, my workbench version is 6.5.0.2
Views
Replies
Total Likes
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,