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 Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

889 views 45 7
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