Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Multipage Template

Thomas B
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 1, 2017

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 votes
EPS Software Engineering AG
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 1, 2017

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

Thomas B
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 1, 2017

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.

0 votes
Thomas Schlegel
Community Champion
June 1, 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

 

Thomas B
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 1, 2017

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
June 1, 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.

Thomas B
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 1, 2017

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

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 1, 2017

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

Thomas B
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 1, 2017

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?

 

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 1, 2017

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?

Thomas B
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 1, 2017

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events