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:
Is this possible? This is much needed!!
what you need is a Space Blueprint. There's a tutorial for creating Space Blueprints here:
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:
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.
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
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.
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
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.
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
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...
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