Is it possible to auto generate number in confluence 5.7

Hi,

We user confluence version 5.7 server .

I am trying to setup documentation system and have a requirement to generate automated number for each page. ( DOC001 ,DOC002 ...) . Is it possible in Confluence ?.

 

8 answers

1 accepted

This widget could not be displayed.

You can use CSS counters to automatically number pages, headings or any other html element.

This widget could not be displayed.

You can use the Create Page macro to do this. It allows you to add bits to the created page's title.

This widget could not be displayed.

Thanks Milo and Steffen for the response. Can you please provide an example how to implement the solution.

 

This widget could not be displayed.

In the Create Page Macro, enter the document name in the Title field.

image2015-8-4 15:3:22.png

This will create a new document thusly:

image2015-8-4 15:5:17.png

 

The %ident% auto-increments the number in the name.

This widget could not be displayed.

If you want to add numbers to a html element (for example: h1) you can do this with:

body {  
counter-reset: levelA;   
}  
  
h1:before {  
content: counter(levelA) ". ";  
counter-increment: levelA;  
}

What I don't know yet:

  • Do you want it for PDF or for html?
  • Do you want to number (1) separate documents or (2) pages within a document? Milo's approach will only work for (1), mine will only work for (2)

 

 

 

 

 

This widget could not be displayed.

Thanks Milo and Steffen. Appreciate your answers. Both the solutions worked perfect for me.

This widget could not be displayed.

You can use "Requirement Yogi for cofluence" add-on to generate the requirements keys automated within page or common across space also. 

This widget could not be displayed.

Hi,

Our Page Tree Creator (PTC) supports consecutive numbers. They can be built up by string, numbers, calculations (currentYear - 1971), etc.

Check out our LIVE EXAMPLES (no registration needed).

Give it a try: Marketplace link Page Tree Creator.

Regards,
Stephan

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

342 views 2 5
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you