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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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?

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.

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 do you think is the most *delightful* Confluence feature? Comment for a prize!

- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...

402 views 23 8
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