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.

1 vote
Don Willis Atlassian Team Apr 02, 2014

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
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,102 views 17 14
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