Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

AEM Guides footer chapter/page number questions

Avatar

Level 1

I am trying to get our page numbering set up to look like the following in AEM Guides (

(version 2022.5.144):

 

1-1, 2-1, 3-1, where the first number is the chapter number and the number after the hyphen is the page number of the chapter. I also need the page number to restart from "1" with each chapter. How do I do this?

 

This is what my footer currently looks like. The page number is the top number. I am using the "Insert Field" function to insert the "Page Number" system variable.

 

aem-guides-page-number.png

1 Accepted Solution

Avatar

Correct answer by
Employee

For "1 - 2" (page no - chap no) kind of numbering do the following in the footer of the relevant Page Layouts.

1. Insert Field "Page Number"

2. Type hyphen (-)

3. Insert Filed "Chapter Number"

4. Save and Generate PDF.

 

For restarting the Page Number for every chapter do the following.

1. Open the Page Layout Chapter > First for editing.

2. Open the Page Properties panel on the right. (second icon on the right toolbar)

3. In the field "Restart Numbering from" type 1.

3. Save the page layout and generate the PDF again

View solution in original post

2 Replies

Avatar

Correct answer by
Employee

For "1 - 2" (page no - chap no) kind of numbering do the following in the footer of the relevant Page Layouts.

1. Insert Field "Page Number"

2. Type hyphen (-)

3. Insert Filed "Chapter Number"

4. Save and Generate PDF.

 

For restarting the Page Number for every chapter do the following.

1. Open the Page Layout Chapter > First for editing.

2. Open the Page Properties panel on the right. (second icon on the right toolbar)

3. In the field "Restart Numbering from" type 1.

3. Save the page layout and generate the PDF again

Avatar

Level 1

Thanks, Vivek! That worked. I feel silly that it was that easy...hopefully this will help other beginners, too!