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
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,129 views 22 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