Can Confluence handle conditionality

Is it possible to implement conditionality on a Confluence page so that when exporting to XML, PDF, HTML, or Word - one can select which version to export - one with the condition and one without.

3 answers

1 accepted

I'm not sure, if it meets your need, but take a look on



Good tip Steve, thanks. It is hard to tell if it solves the exact need - but from the write-up, it seems feasible that it would. Again, thanks.

It's certainly possible to write a Macro plugin to do that. Macros know whether they're being rendered for PDF/view page etc. It's in the page context's outputType. The different types are documented at

Gary, this is a very specific need.

I'm afraid that need a development...

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

1,989 views 25 10
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