how to get the list pages last viewed date

Would anybody know how to get information of pages last viewed date from Confluence via a Macro or Database Query. Unfortunately, we don't have the luxury buying a tree-view plugin or other similar plugins 

We want to archive wiki spaces pages that have not been viewed over a certain period. 

Thanks

Jaime

1 answer

0 votes

Hi Jaime,

In your database, you can run a SELECT statement, such as:

SELECT * from "AO_92296B_AORECENTLY_VIEWED";

If you wanted, you could also probably sort by LAST_VIEW_DATE to get the dates you want.

We do have a feature request for this, so you can vote on it to help show the amount of interest and comment with your usage case so we can best implement to fit your needs:

And I know you didn't want to install an add-on, but for anyone else that happens across this, it appears a few will be able to do that, such as the Archiving Plugin for Confluence.

Let me know if you have any trouble with the database query and I'll be happy to help.

Kind Regards,
Shannon

Thanks for that :-). I am only getting results for pages last viewed for only 2017, can I get results before 2017?

Thanks very much for your help.

Jaime,

It may be that it really only does track recently viewed, as the name of the table says. :/ 

This add-on is free and seems to do something similar;

ServiceRocket Tracking Plugin

I would recommend to try that and see if it goes back further.

Kind Regards,
Shannon

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,544 views 4 13
Read article

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