Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to add pre-defined template to a previously created pages


I created a template using confluence, then I can use my pre-defined template for any new pages that I'll create.  But I have some previously created pages without my pre-defined template being applied.   Does anyone know how to insert my pre-defined template into my previously created pages?  


Any hints/tips are greatly appreciated!


2 answers

0 votes

You can't.

A template is a starting point, a guide for writing a page.  It's not part of the page and has no use within, or even relationship with, the page you create from it.

To do this automatically, you would need to embed something in your template that stores "this page was created by" and then write a routine that can find pages tagged with that and intelligently edit them to bring them in line with your template changes.

But you'd still need to go and tag all the old pages if you did it.

Thanks Nic!

I agree with you that I need to write a routine to scan those pages and edit the them to bring them in line with my  template content.   Currently we have 100+ pages that need to be edited to be in line with my template changes. I'm newbie with Confluence.  Only way I do is to find or use the out-of-box confluence feature to get this done.  So far I haven't found any.  So I might just have to go in to each page to manually update them, which is quite tedious and time consuming.  On the other hand, if writing some code/routine can help get this done efficiently, I'm willing to try.  Would you be kind enough to shed some light toward that direction? 


Here is what I'm trying to do.  I created a header page to include the info that needs to be placed on top of each page including child and sub-child pages (total: 100+ pages currently).   The header page has the info like this:


"Documentation for XXX Version.  Documentation for XXXX and earlier versions is available too.".   

Below link shows an example of the header info I'm trying to use and create.

Now I just need to get that header info broadcasted to all child and sub-child pages (100+ pages) of the existing page.

Is there anyway to achieve this goal?


Again, really appreciate your help!


Daniel Wester Community Leader Mar 07, 2015

Are you wanting to apply that to all of the pages in the space? If so you can edit the template in the space.

There is nothing in Confluence that will do this, and no plugins I'm aware of either - that's why I started with "you can't" in the answer. Your simple banner to be included is a good approach because it gives you flexibilty in the future and you don't have to be horribly clever with your edits, just "find page, add section at the top". But, that's where you'll need to either script something or do it by hand

I've been investigating the Scaffolding Plug-in that has a so-called "Live Template" concept. I'm trying to verify if it allows for template changes to be reflected in previously created pages. They are saying "Yes".

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Marketplace Apps & Integrations

Staying organized with Jira: best practices for a better project management

Project managers know this problem: A “mountain of work” lays in front of you, and you don’t know how and where to tackle them. Different to-dos lie ahead, but just one task after the other can be ha...

225 views 2 1
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you