Editing a template or a bulk change the pages?
Asked by Alexey:

Greetings, i've created a custom template for my confluence articles. It's pretty generic, basically just a footer for a page with a disclaimer.  

CORE text  
------  
Footer  

Now, I decided to edit that template and add few more words. Unfortunately, that change does not affect pages that are already created with the previous version of the template.  

Now, I have 60+ pages and can manually edit them, but I plan to move the whole company wiki with 3000+ pages to confluence. So I want to make sure that I'll have the ability to bulk edit footer/headers of the pages. Template seems does not work is there any other options?  

It seems I can use API to select and bulk edit, but maybe I just need to create those pages in a special manner in the first place?  


Answers:
author: Alexey
body: Hah, it took a while but i found a solution myself!  

It's a macro called **/include page** and it completely solves my problem.  
Here is a short [explanation by K15t team](https://www.youtube.com/watch?v=qGjyHshdSTE) including some other useful tips, so i encourage everyone to watch whole thing.

[@Capi \[resolution\]](/t5/user/viewprofilepage/user-id/1205339)you asked to poke you, so please check if that gonna be useful for you too.


author: Jonas Moehringer - ij-solutions
body: Hi everyone,

just came across this post. I am co-founder of ij-solutions and developed this little app during this years Codegeist hackathon: [https://marketplace.atlassian.com/apps/1226657/content-toolbox-for-confluence-cloud?tab=overview\&hosting=cloud](https://marketplace.atlassian.com/apps/1226657/content-toolbox-for-confluence-cloud?tab=overview&hosting=cloud)

Maybe it can solve your problem as you can do, beside other things, search\&replace over a bunch of pages. So, basically a bulk change. We would appreciate any feedback on the app and what can be done better or what other "tools" might be useful as well.

comments: author: Stavros_Rougas_EasyApps
body: I work with [@Jonas Moehringer - ij-solutions](/t5/user/viewprofilepage/user-id/2446557)we just released the Find and Replace feature as a separate app as well, so two options:

[Find and Replace by Easy Apps](https://marketplace.atlassian.com/apps/1231783/find-and-replace-by-easy-apps?hosting=cloud&tab=overview)

[Space Content Manager](https://marketplace.atlassian.com/apps/1226657/easy-toolbox-for-confluence-space-level-content-editing?hosting=cloud&tab=overview) (find and replace is one of the features)


author: Capi [resolution]
body: I think you're doing everything right and templates don't work retroactively. However, if you find out some other way, please let me know, as this would be interesting for me as well.

comments: author: Linda Milne_Togetha Group_
body: Ditto. I did see some articles about using the API or scriptrunner.But nothing that solves my problem.

But I don't think there is much you can do in the first place - you cant possibly anticipate all possible changes that you might want to make in the future. Templates seem to be the best approach.

A bulk change option similar to that in jira would be nice, but I'm not sure how you would do that for confluence pages.


Tags: cloud

confluence-cloud