Do not archive parent page if there's any children not to be archived

As a user, I'd like the archiving to skip those parent pages that have any children not going to be archived in the same lifecycle to preserve original structure (i.e. to avoid moving children up in the page hierarchy).

Have more questions? Submit a request

7 Comments

  • 1
    Avatar
    Dirk Disch

    We at SICK AG (www.sick.com) would like to keep the same structure in the archive space as well as in the fresh space. Archiving parents if they already have children that are not archived destroys the space structure, especially if parents are used to structure children pages and give an overview about them.

  • 0
    Avatar
    Aron Gombas

    Dirk, it is a bit unclear what'd be the expected behavior for you.

    If page "A" should be archived, but its child "B" should not, then what do you expect? "A" will not be archived either? Something else?

  • 1
    Avatar
    Dirk Disch

    Hello Aron,

    in your described case (If page "A" should be archived, but its child "B" should not, then what do you expect?) My expected behaviour would be as you stated "A" will not be archived either"

    Another example: Page A has childs B and C.
    Page A should only be archived, if Page B and C are archived, too. This avoids that the space structure may be destroyed.

    Page A ("Minutes Overview")
    |- Page B ("2020-04-29 team minutes")
    |- Page C ("2020-04-28 team minutes")

    Or a more specific example: Page A is an overview page for meeting minutes. It gatheres its information dynamic e.g. via metadata or child-macros. Therefore this page might not be edited for a very long time. If I have an archive rule based on last edits, than someday the overview page is archived and plenty of single minutes pages are appearing one level up without  the structure/overview page.
    In this simplified case I could use "noarchive-single"at the overview page, because the overview is a permanent page, but I have many use cases, where this is not possible (but would be more difficult to explain briefly)

    I think it would be beneficial to have an option in the archiving configuration where I could enable, that parent pages are skipped if any children are not archived.

    Is the expected behavior now clear for you?

  • 1
    Avatar
    Aron Gombas

    Thanks, Dirk, I understand.

    I will keep this here and will see what other users react, because I think this behavior would confuse others. But, as you pointed out, it could be optional.

  • 0
    Avatar
    Dirk Disch

    Aron, yes I agree. Depending on the space structure (and the amount of pages in a single space) this might be confusing. We have quite big spaces with a complex structure.
    I think to have it optional would be best for all users.

  • 0
    Avatar
    Angela Gleissl

    This feature is quite important to us as well. We are losing the structure of our spaces. This is actually a no go for us and we're looking for alternatives to the plugin right now.

    Some of our users enumerate the page tree and their enumeration gets messed up. Also some users aggregate data over long period of time in parent pages. If those parent pages are archived, this is quite annoying.

  • 0
    Avatar
    Renni Verho

    Hi, 

    got info about noarchive option ( https://midori-global.com/products/better-content-archiving-for-confluence/server/documentation/page-archiving ) for other issue.

    That could work for example case if Page A is marked with noarchive label.

    Page A ("Minutes Overview")
    |- Page B ("2020-04-29 team minutes")
    |- Page C ("2020-04-28 team minutes")

Please sign in to leave a comment.