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

Is it possible to sync texts on separate pages so one will update automatically when changes?

eunice.li I'm New Here Dec 24, 2019

Hello,

I am wondering whether there is a feature that I can add the same info in 2(or more) pages and have them linked to each other. For example:

Use case: multiple restaurants info

Parent page: Directory with a table that lists all the info
Child pages: an individual page that shows detailed info per restaurant.

If I add contact number and address in a child page and copy the same info on the parent page, is it possible to sync this info so it is not necessary to update twice to keep everything up to date?

1 answer

0 votes

Yes, you can write the master page so that it uses the macro "include" - wherever {include:(space:) name of other page} is used, the entire content of the other page is drawn within the master.  The master contains no content from the included page when it is edited, if you want to change the text, you have to edit the included page.

If you don't want the whole included page, you can wrap the part you do want in {excerpt} macro, and then use {include-excerpt) in the same way as {include}

In your example, you might have restaraunt information including reviews and details as your included pages, but use {excerpt} to pull only name and contact details into a master list.

One caveat - anyone reading the master page must have permission to see the included page, or the macros cannot read the data from them.

eunice.li I'm New Here Dec 30, 2019

Hello Nic,

 

Thank you so much for your answer. I have tried it and it does work! However I still have an issue: if I use {excerpt} twice on the same page.  {include-excerpt)  will only show the first  {excerpt}. anyway to solve that?

 

thank you again, happy new year,

eunice

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

What project did you transition or start on Confluence with the shift to remote work?

It’s been great to hear from fellow users over the last few weeks about the best tips and fun moments you’ve had working on Confluence since the transition to working remote. I’d love to keep the c...

109 views 3 7
Join discussion

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