Multipage Template

Hello, I would like to create some sort of template that will spawn a series of child pages. For example, when we develop new software and my users want to create a Confluence Space for documentation on that new software... I want them to be able to click "Create from Template" and the following structure to take place:

  • New Software Name
    • Software Specs
    • Software Docs
    • Software Guides
    • Ect.

Is this possible? This is much needed!!

 

Thank you!

2 answers

0 vote
Thomas Schlegel Community Champion Jun 01, 2017

Hi Thomas,

what you need is a Space Blueprint. There's a tutorial for creating Space Blueprints here: 

https://developer.atlassian.com/confdev/confluence-plugin-guide/confluence-blueprints/space-blueprints/write-a-simple-confluence-space-blueprint

 

I do not want to create a new space, I want to create a template with a series of pages that are generated within an exisitng space.

Thomas Schlegel Community Champion Jun 01, 2017

Sorry, I misunderstood your question.  

As far as I know there are just Space Templates and Templates for single pages. There's a plugin for creating page tree templates: 

https://marketplace.atlassian.com/plugins/eps.focuspro.PageTreeCreator/server/overview

but I didn't tried that. It is only available for self-hosted-instances.

Maybe you can create a "Template Space", create the page hierarchy there and let your people copy the page tree from there to their space. It's not very comfortable, I know, but could be a workaround.

That's alright, I'm trying to figure out the most efficent work around that can be done... Thank you

Umm, a "space blueprint" is a blueprint that exists for that space.  You can use blueprints to create new spaces, but you can also use them to create sets of pages in the same space repeatedly.

If you belt "create page" on a standard plain Confluence install, you'll be offered some options that look like templates - some of them are actually blueprints, and one of them is very similar to the example stuff they talk about in the tutorial Thomas mentioned.

Have a look through https://confluence.atlassian.com/conf61/blueprints-877187748.html

Ok, so I am looking for the src/main/resources/atlassian-plugin.xml that I edit to add a blueprint and I cannot locate it. Would it be named something else by default?

 

The tutorial gives you the content of the atlassian-plugin.xml that you need to put into the xml created by the create plugin script in the SDK.

Ok, after re-reading that, I see I'm making a lot of assumptions that might not be true.  The tutorial assumes that you have decided to write a plugin to provide a blueprint for Confluence, and that in order to do that, you've installed the Atlassian SDK for developing add-ons and created a skeleton one (probably using the atlas-create-confluence-plugin script).  Is that what you've done?

Ahh, I have no created any add-ons. I'm on a time crunch to get this done and I just assumed that Atlassian had a way to allow the system to create a main and child pages based on one click by the user. I will have to review that document in further detail and see what the best options are.

  • Create a new blueprint
  • Create template with an excel attachment - CAN'T DO THIS
  • Create a template with many {expand} macros

Hi Thomas,

I think our Add-on Page Tree Creator could do your job.

Marketplace Review: Page Tree Creator is absolutely fantastic. It is simple to use, well documented, and has great functionality. One of our departments has a 20+ page structure that they want in place for each of the companies they track. It took me less than an hour to set up Page Tree Creator such that they can go to a page, enter the name of a new company, click a button and immediately have the entire structure built out for that company. It plugs the company name into every page title to keep pages unique. We maintain a tree of the template pages to use and everything on those pages ends up in the new pages, any text, labels, macros. Very powerful and a huge time savings.

Check out our Live Examples (no registration needed).

Give it a try: Marketplace Link

Regards,
Stephan

Hey Stephan,

Thanks for the reply. I reviewed the live examples and user guides and documentation but I need a "free" way of getting this done. We cannot purchase any add-ons at this time. I may go about the free add-on and have to purchase at a later date. At the same time, I don't want to implement this and have to find a new way in the end if the purchase order doesn't go through.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Friday in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

277 views 11 10
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