I don't think this is possible within Confluence as it stands, but is there a way of doing this programatically?
I think there's two ways this could be done:
I'm not concerned about making them from a template, but being able to do this both from a template AND independently of a template would be good.
But I'm no programmer, so I may be talking out the back of my head.
We're using 5.7.3, Server.
Cheers and TIA.
Create a Word file, enter the page names as headlines and import the file into Confluence with "Import Word Document" and the option "Split by heading".
Confluence will automatically create a new page for every headline and structure it according to the chosen headline levels.
There's one thing to note, here: Confluence will not process multiple levels of headings from the Word document, then create a whole tree structure of new pages.
It's a one-heading-level process, and at least so far, the choices are only Heading 1 or Heading 2.
How to create multiple pages in confluence using a word doc with heading titles.
Step 1 - create a word doc and write out all the names of your pages in a list.
Step 2 - select the text and give a title 1 heading and save
Step 3 - create a blank confluence page and give it any name
Step 4 - click on the three dots in the top right corner
Step 5 - Select "import word document"
Step 6 - Click "select file" and locate your file
Step 7 - Press "import"
Step 8 - A screen comes up called "Import Word Document: Configuration" - on this page, go to the bottom where it says "split by heading" and change it to "level 1 headings" and press import
Step 9 - its done, the pages are created, now you need to move them around.
Olivia, thank you for your answer to this.
We're on 6.9.x - I think non-cloud version.
I found only one caveat. I had already created the parent page for the sub-pages that I wanted to create in this way, so it actually created a new parent
Then I had to reorder pages and delete the extraneous on, but meh! Not the end of the world.
There's a second caveat to this, I have found.
I decided I would do a large number of headings in a Word doc, as I had quite a page tree structure to create. Bring 'em all in, then reorder. I had been doing this a chunk at a time, importing and then reordering non-alphabetically. (Confluence, do you think maybe there's a reason I'm bringing these things in in a specific order?)
I should mention at this point that all of these headings, all of them, had a colon ( : ) in them.
So, put them into Word. Did the import. Every single colon was turned into an underscore. No global search-and-replace sans a plugin, and my employer's averse, not just because of cost.
So, at least some of the time I saved not doing things in chunks was spent manually editing the title of each of those pages.
No solution, but I can confirm that you are right with all you said:
Using the Word import function to create pages simultaneously is not more than a workaround.
If the template part is important to you, you can include that into that Word file as well (at least to some extent).
If all the pages must have the same layout with e.g. headline followed by paragraph followed by an image you can add that to the Word file and it will become the content of your wiki page.
For those who do not want to get into the Java programming. Try our Page Tree Creator Add-on.
Our Add-on Page Tree Creator works a bit different than the Confluence blueprints / templates. The PTC-templates are based on normal confluence pages and therefore creating a PTC-template is as simple as creating a Confluence page. Of course you could start creating your PTC-blueprint based on an existing Confluence page.
Try our Live Examples (no registration needed).
Hi Community! 2018 was filled with changes for our team, both big and small, and we've taken a lot of time to both celebrate our wins and recognize areas of improvement. One thing that we're a...
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!
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