How to collect the last modification date of a page?

Evelin
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 6, 2014

Is it possible to collect the last modification date of a page, and display it on some other page, for instance in a table cell?

Imagine child pages that change now and then, and on the parent page would be a table with one row per child page, and for each child page the 'Last modified' date should be placed in a table cell.

'Last modified' would be the date that you can see in the 'Recent Changes' section of Page Information.

3 answers

1 accepted

0 votes
Answer accepted
Rodrigo Girardi Adami
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 7, 2014

Hi Evelin,

From confluence side, you can retrieve page information from the database in the content table, which will have the last modified date on it.

I believe the page info macro from adaptavist may help you. check here.

I hope this helps.

Cheers,

Rodrigo

Evelin
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 7, 2014

Thanks Rodrigo. The plugin looks good at first glance but it's only available for Confluence 5.0 - 5.1.5 (we have 5.4.1) and there is no timeline for an update...

Davin Studer
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 7, 2014

Often times the macro will still work. Try it out first. The version must be updated by the developer and sometimes they just don't say it is complatible with newer versions even though it really is.

Evelin
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 1, 2014

I tested some use cases with the help of Adaptavist Page Information Plugin: get the last modified date of a page, get the current version, and some more. It all worked very well. One handicap: There is no search for pages - you need to memorize the page title and add it manually but that's ok imho.

1 vote
Midori
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 25, 2014

If your use case is to find the old pages that should updated or deleted (archived), you can eliminate the manual checks of this table using the Archiving Plugin.

It will track you pages that are older than a threshold or not viewed by anyone for a period, and archive them (instead of deleting them) if you want to. Learn more here

0 votes
Monika Turska [Adaptavist] June 18, 2014

Hi Evelin,

Try our Page Information Tools add-on, it's a great free add-on and now available for the latest Confluence up to 5.5.x.

Thanks,

Monika Turska | Adaptavist.com

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events