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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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;
I would recommend to try that and see if it goes back further.
Kind Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.