Initialize page view dates at the plugin's first installation date or treat "unknown view date" in a smarter way - DONE

Here is the use case it could solve:

1. Both “Page A” and “Page B” existed prior to the Archive Plugin installation. “Page A” is an active page that gets viewed pretty regularly and “Page B” is an OLD page that hasn’t been viewed for quite some time (a perfect candidate to be archived).

2. The plugin is installed on 10/15/20105 and configured to archive pages that haven’t been viewed in 365 days.

3. A user views “Page A” on 10/15/2015. A record is inserted into the AO_1991C6_PAGE_VIEW table for “Page A”.

4. Neither “Page A” nor “Page B” are ever viewed again. A record is never inserted into the AO_1991C6_PAGE_VIEW table for “Page B”.

5. Fast forward 366 days after the plugin was installed and the scheduled Archive service executes on 10/16/2016.

RESULTS: It finds the record for “Page A” and properly archives it. Even though “Page B” is older and hasn’t been viewed for OVER a year, it does NOT get archived (because it doesn’t have a record in the AO_1991C6_PAGE_VIEW table).

EXPECTED RESULTS: I would expect it to be smart enough to know that “Page B” hasn’t been viewed since prior to the plugin installation and archive it.

Have more questions? Submit a request


  • 2
    Ray Hausmann

    Use Case:

    We have a huge amount of spaces and pages: Knowledge, Processes, Minutes, etc.

    We want to decide what to improve (delete, archive, move, update, ...) based on which pages are attracting visits and which pages don't, this also needs to cover all the pages not opened since the plug-in has been set-up.


  • 2
    Charles Perreault

    Pages "last view" time should be initialized at some default value at the plugin installation time, otherwise the metrics are flawed and all pages are marked as green / viewed recently.  This is not helpful at all: we must visit ALL the >5000 pages manually in order to set/reset the last view counter?  Errr: NO.

    We need a better way to set the default time for last page view for ALL pages: 1) use the plugin installation date 2) any date chosen by the installer 3) use the last page update.



  • 0
    Levente Szabo

    Midori is happy to let you know that this feature has been shipped in Archiving Plugin for Confluence 7.4.0!

    Please read more about the new features in the release notes and don't forget to visit the Atlassian Marketplace to update your app version!

    Thank you for your continued trust and patience, it's much appreciated!

Please sign in to leave a comment.