Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Is there a Macro to display Last Update Date of the Page?

Is there a Macro to display Last Update Date of the Page

3 answers

You could create your own as a user macro:

https://confluence.atlassian.com/doc/writing-user-macros-4485.html

## @noparams
Last Modified: $action.dateFormatter.formatDateTime($content.lastModificationDate)

 

Hi @Stephen Deutsch you seem to have alot of experience in writing confluence plugins so maybe you have a tip or idea on how to extent this plugin to display like the last 5 Modified Dates of a page ? Thank you in advance and have a nice weekend! :)

Gregor

For inclusion in a page properties report, I found the contributors summary too cumbersome.  It's a table within a table.  But I found that I could modify the Contributors macro to include the last updated, with the inline format, works perfectly!  

Useful for PageProperties reports of various project status pages, and providing a "freshness" index of projects.  

Hi Lisa, 

very useful tip! 

Can you explain a bit more on how you do the inline format? 

I want to add the "last update" to my page properties table and it would indeed look much better if it was not shown as a table in a table. 

I am not that familiar with confluence (and not tech savvy) so a bit more information would be much appreciated. ;) 

If you are using Confluence Server then you can use the Confluence Macro "Contributors Summary" macro.

Configure the macro with

Group By: contributors

Columns to Display: lastupdate

Sort By: update

Maximum Number of Items:1

This will show the User and the Last Update details for the page.

What's really useful is that if you include the "Contributors Summary" within a row of a "Page properties" macro e.g.

Untitled.png

and label the page. You can get a summary of such pages in another Confluence page using the "Page properties report" macro. In the above set up, the summary will show columns with:

Title | Description | Details (within the details there will be User | Last Update) | Next Review | Status

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

Announcing Team Calendars in Confluence Data Center

Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond.  A long time favorite,  Team Cale...

113 views 0 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you