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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Tuesday in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

386 views 17 9
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