How to add user-defined page properties?

Is it possible to add user-defined page properties, similar to those which are displayed in the page history (e.g. version)? Goal is to have metadata of which the value is page revision specific, not just page specific. Metadata using the Metadata plug-in is always displayed in the current state of the page, even when viewing an old revision of the page.

2 answers

0 vote
Davin Studer Community Champion Apr 16, 2015

Have you tried looking at the page properties macro? That's the whole point of it. Combine it with the page properties report macro and you can get some nice reporting on the meta data within your pages.

https://confluence.atlassian.com/display/DOC/Page+Properties+Macro

https://confluence.atlassian.com/display/DOC/Page+Properties+Report+Macro

Yes, I've tried those macros, but as to my understanding the 'page properties' which are defined via the page properties macro are only accessible via the page properties report macro, and only in the format of that macro. Or can these properties also be accessed in another way?

Davin Studer Community Champion Apr 21, 2015

By default they cannot be accessed in other ways.

Do you mean there is a non-default way too in which they can be accessed?

Davin Studer Community Champion Apr 22, 2015

Sure, but you'd have to write your own add-on to do it.

Where does Confluence store these properties? Are there examples available how to retrieve them or where to look for them via a custom plug-in?

Davin Studer Community Champion Apr 27, 2015

Here is the developer documentation. Also, if you are an Atlassian customer you can get the source I believe for the page properties and the page properties report macro. https://developer.atlassian.com/docs/getting-started

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...

374 views 20 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