Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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 update two pages with duplicate content at the same time? Edited

I am currently working on migrating information from multiple pages into a single page for ease of access. 

For example: 

My new, all-encompassing page might be called "ALL INFORMATION". The contents of ALL INFORMATION have the same content as multiple other pages (say, "EXAMPLE 1", "EXAMPLE 2", and "EXAMPLE 3").

Is there a way to edit one source, and have the information change in both sources? 

So, if I were to edit a blurb in EXAMPLE 1, is it possible to get the same blurb in ALL INFORMATION to be edited in the same manner without having input the information twice, manually? 

I am aware of the snippet feature, but since the excerpt feature can only be used once per page, it isn't exactly what I'm looking for. 

2 answers

2 votes

Create the three pages Example1, Example2 and Example3 as normal.

Now create "All information", and instead of body text, use the include macro, such that the body of the page is just 

{include: Eample1}

{include: Example2}

(include: Example3}

This will render all three pages as though they were on one page.  Edit an example X page, next time "all information" is rendered, you'll see that change in it.

Not sure what you mean by "snippet" - it sounds like {excerpt} and (excerpt-include} though.

1 vote
Matt Reiner _K15t_ Marketplace Partner Jul 23, 2021

@Lauren Timzen


Nic is on it. The Include Page macro is really great for this kind of thing. You might also consider building a "library" of all the content you reuse, so you can easily find and update things.

We go into how to do this in our guide here:

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

🏑 Atlympic Event: Confluence

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

504 views 18 17
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