Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
UI Text Box
typeinfo

Status
colourYellow
titlesince

Attachment functions

Starting with

version 1.4.0
, a new functionality for attachments 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
UI Text Box
typenote

To get the attachments displayed, the detail view has to be activated.

Renaming the

renaming 

attachment versions is not possible

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

    . Only the latest attachment version will be copied.

    Image Added

    UI Expand
    titleRenaming attachments

    The same options as by renaming pages are available

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

    Attachments can be renamed the same way as renaming pages and it can be done by selecting the attachment and choosing one of the following options:

    • Clicking on edit and rename
    • Clicking on rename
    • Pressing F2
    • Using the context menu

    Image Added

    UI Text Box
    typenote

    Attachment names on the same page have to be unique, so renaming

    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.

    UI Expand
    titleMoving 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.

    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

    node or individual attachments can be selected and moved by choosing one of the following options:

    • Via drag and drop
    • Pressing m
    • Clicking on edit and move
    • Clicking on the move button

    Image Added

    Image Added

    Image Added

    UI Expand
    titleCopying attachments

    Copying attachments works like moving them; by selecting either the attachment node or individual attachment(s) and then by choosing one of the following options:

    • Clicking on edit and copy
    • Pressing a
    • Clicking on the copy button

    Image Added

    UI Text Box
    typeinfo

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

    Image Added

    UI Text Box
    typetip

    Check the following table for more helpful shortcuts to save you time while managing your attachments.


    Excerpt Include
    DECADIS:Contact support
    DECADIS:Contact support
    nopaneltrue

    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 spaces, pages and attachments, 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

    In order to configure a new job, just click on the "Configure a new JOB" button and you will be redirected to an individual configuration page.

    Image Removed

    Here you have to configure:

    • the name and optionally a description for this job
    • the actual service configuration (when and what will be cleaned)
      • CRON Expression - when is the job going to run - see Javadoc
      • spaces, pages and attachments that will be cleaned
    • strategy choice 
      • either a number of attachment versions to keep or
      • 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 job checkbox - will start the job on save, and the service will run at the time previously set with the CRON expression.

    Jobs can be edited, deleted or you can preview what the service will actually delete.

    The following image shows a preview screen for a job:

    Image Removed

    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".