Does Confluence have a macro that allows you to post the version and date of an article in the body of the article?

I have some articles that are using the Comala workflow technology, but we'd like to include the date and version of the article in the main body of the article, so that if exported in PDF the correct version and date accompany the PDF image.  Instead of embedding the date/version by hard-coding it into the article, rather, have the article reference the date/version already captured by article history.

2 answers

You can set up a table with the heading column on the left side, with Date and Version as headings. Then use the page information macro to get the creation date and version number. See below.

Creation Date (heading cell) : Page info macro (date)

Version (heading cell) : Page info macro (version)

 

If you put the whole thing in a Page Properties macro you can then generate a report on all pages.

I like your approach, but what is the "Page info macro'? I don't see that listed anywhere. Are there instructions on accessing page information?

May be something like a custom user macro described here: https://answers.atlassian.com/questions/32976455 will help?

Unfortunately, I am a mere Wiki author, not a developer, so instructions to create my own macros are beyond my understanding.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Tuesday in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

467 views 19 9
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