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

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.

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,066 views 16 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