Editing multiple pages in Confluence

Confluence 3.3.3 with Adaptavist.

I am applying the exact same change to a family of some 60 wiki pages. The same search-and-replace commands would apply to every one of the pages. Is there a way to automate this process, without getting into the code or database? It's pretty tedious opening every page in turn, clicking on edit, entering the same thing, saving....

One of the changes is to add an include statement, to reduce this issue in the future.

Actually I'm thinking the pages could work as a kind of form, where certain fields are filled in with data found elsewhere, while the structure presenting the fields remains constant. Not sure how easily I can set up this kind of system, if at all.

3 answers

1 accepted

Actually I'm thinking the pages could work as a kind of form, where certain fields are filled in with data found elsewhere, while the structure presenting the fields remains constant. Not sure how easily I can set up this kind of system, if at all.

Confluence, with the aid of the Scaffolding & Reporting plugins, can certainly do this. The benefit of this combination is the ability to store data (or content) in a structured fashion, and re-use it easily. One technique is to set aside a page in a space for capturing a number of properties, as text-data fields for example. You can then refer to these elsewhere in the space, or even in other spaces, either just to show the values as text, or to perform conditional logic, for example to include page X if the text-data value is "1" or page Y otherwise.

There's more info on using these plug-ins over at the CustomWare Get Satisfaction site. Here's an example: http://community.customware.net/customware/topics/targeting_a_specific_page_with_local_reporter

Regards,

Charles

Specifically the live template support from the Scaffold plugin is the best way to re-use a page.

Sounds like we should have designed this differently from the start. The information in these pages is indeed structured. Each page actually contains the same information, just about different files. I have been simply cloning the page and replacing the text where it's different. Generating all the pages from a template and a data file would work fine, but I am not sure whether we will be able to get the plugins to try this out.

You can go via Webdav and Notepad++, just make sure to not include "version.txt" to the files-mask

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 Apr 13, 2018 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...

381 views 21 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