Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,361,191
Community Members
 
Community Events
168
Community Groups

How to reuse content but include some differences?

Is it possible to reuse content but include some differences? For example, I have three different products, A, B and C, and they all share the same configuration steps. I want to reuse these steps for A, B and C but with different product names, IP addresses, etc. I've tried excerpt macro and include page macro, but they cannot help me reuse contents while including some differences. Is there a way to achieve this?

1 answer

1 accepted

2 votes
Answer accepted
Matt Reiner _K15t_ Marketplace Partner Aug 25, 2022

Hey @Ruby Cheng

There isn’t a great way to handle this in Confluence out of the box, but my team makes two apps, Scroll Documents and Variants for Scroll Documents that can help you do just what you’re looking for.

You’ll be able to create variants of your content that readers can pick from, so people can pick Product A from a drop down and read the setup steps with the correct IP address and other settings.

You can see it in action in this video: https://youtu.be/deQOXnbuTQc

Hi @Matt Reiner _K15t_ 

Thank you for your reply. I've watched the video and looks like "Conditional Content" might satisfy my need, but I am wondering if I create varients at paragraph level, when updating the contents, do I have to update the contents more than one time?

For example, if I would like to add a few words to the paragraphs below, can I just add them to the Data Center paragraph, and Varients for Scroll Document would help me to automatically add these words to the Cloud paragraph so I don't have to add the same thing twice?conditional content.png

Thank you!

Matt Reiner _K15t_ Marketplace Partner Aug 29, 2022

You would have to enter the text twice in this case, which I know isn’t always ideal.

If you’re writing a lot of text that’s exactly the same, you could consider using this in conjunction with the page include or excerpt include macros. This way you could write the similar content in one place and then include it in both conditional content macros. 

Like Ruby Cheng likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
Community showcase
Published in Confluence

Watch 4 Confluence apps compete for Best App Demo in September's Appy Hours

Calling all collaborators! Appy Hours on the Atlassian Community is a monthly event where 4 Partner and app vendor presenters go head-to-head with 5-minute demos for the title of Best App Demo. I...

582 views 0 13
Read article

Atlassian Community Events