Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Attachment functions

Features

Starting Startnig with version 1.4.0, new functionality is available for Attachments.

They can be individually renamed, copied and moved directly in the Space Admin browser, Browser - the same way spaces and pages are moved.

Note
titleLimitations
renaming 

(info) Renaiming the attachment versions is not possible

  • copying attachments will copy only the last version of the attachment
  • On this page

    Table of Contents

    Renaming attachments

    The same options as by renaming pages are available

    . Only the latest attachment version will be copied.


    (warning) To get the attachments displayed the detail view has to be acitvated.

    Image Added



    Renaiming attachments

    Attachments will be renamed the same way as pages get renaimed and can be done by selecting the attachment and

    • clicking Edit and Rename
    • clicking the rename button
    • pressing F2
    • using
  • click Edit and Rename
  • click rename button
  • press F2
  • use
    • the context menu

    Attachment names have to be unique on a page, so renaming of an attachment with the same name as an existing attachment is not allowed.


    Image Added


    Moving attachments

    Moving attachments is like moving pages

    , you can either select

    . Either the attachment

    nodes to be moved and then use drag and drop, or click the move button in the menu.

    node or individual attachments can be selected and moved

    • via drag and drop
    • by pressing m
    • by clicking Edit and Move
    • by clicking the move button


    Image Added


    Image Added


    Image Added


    Copying attachments

    Copying attachments works like moving them by selecting either the attachment node or individual attachment(s) and

    • clicking Edit and Copy
    • pressing C
    • pressing the Copy button


    Image Added

     

    In the pop up window a target space and a optional parent page can be selected.


    Image Added


    Attachment Service

    Moving by clicking the "Move" button

    • a pop-up window is opened, and you can select a target space and a target page.

    Image Removed

    Moving by drag&drop

    • select the attachments that you want to move, and then drag them either into the "Attachments" folder, or on a page

    Image Removed

    Copying attachments

    • similar with move, but the attachments are not removed from the source page
    Attachment service

    Confluence handles attachments like pages, and every time a new attachment with the same name is uploaded on a page, this will be attached as a "version" to the already existing attachment. In the background Confluence actually saves the new file on disk.

    If an attachment keeps being modified

    ,

    - for example, an excel list that gets updated every day and uploaded in Confluence - will lead to the disk getting filled up with useless data.

    Space Admin 1.4.0 comes with a solution to this problem, and allows Confluence administrators to configure "cleanup" jobs. In these jobs

    you can choose In order to configure a new job, just click on the "

    spaces, pages and attachments can be chosen, when the cleanup should run and the cleanup strategy.

    In Space Admin, there is now a new link in the Space Admin section, which points to the index of the configured jobs.

    Image Removed


    Image Added


    A new job is easily configured by clicking the 

    Configure a new JOB

    "

    button

    and you will be redirected to an individual configuration page

    .

    Image Removed

    Here you have to configure:

    Image Added


    The following items can be configured:

    • The
    the
    • name and optionally a
    description
    • descrition for
    this
    • the job
    the
    • The actual service configuration (when and what will be cleaned)
      • CRON Expression - when is the job going to
    run spaces
      • Spaces,
    pages
      • Pages and attachments that will be cleaned
    strategy choice 
    • Strategy Choice
      either
        • Either a number of attachment versions to keep or
      attachment versions
        • Attachment versions older than the chosen number of days to be deleted (example: the document that gets updated every day, if after a week the data is not relevant anymore, I would choose the second option and set 7 in the counter field)
      enable
      • Enable job
      checkbox
      • checkobox - will start the job on save, and the service will run at the time previously set with the CRON
      expression.
      • Expression


      Jobs can be edited, deleted or

      you

      it can

      preview

      be previewed what the service will

      actually

      acutally delete.

      The following image shows a preview screen for a job:

      Image Removed

      Image Added




      CSS Stylesheet
      #tocContainer {
      margin-right: 15px; 
      position: fixed;
      right: 0;
      top: 160px;
      width: 23%;
      z-index: 1;
      }
      
      


      Div
      styleline-height: 150%;
      idtocContainer


      Panel
      borderColor#333f48
      bgColor#FFFFFF
      titleColor#eeeeee
      borderWidth1
      titleBGColor#333f48
      borderStylesolid
      titleOn this page

      Table of Contents
      maxLevel2
      indent20px
      classp



      Related Topics

      • 1
      • 2
      • 3
      Here you will see a list of attachment versions that will be cleaned with some detailed information, and you can also do the cleanup manually by clicking "Run now".