Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-31414

Add Attachments Macro (and Tools->Attachments) plugin point to insert columns into file list

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      NOTE: This suggestion is for Confluence Cloud. Using Confluence Server? See the corresponding suggestion.

      It would be great if Confluence could establish a plugin point to add arbitrary columns to the file lists used in the Attachments Macro and Tools->Attachments parts of the system. Some of our add-ons need to mark up the Attachments file lists with new columns, and we would love to have a standardized way to do this.

      One possible implementation that would work for us would be along the following lines:

      Create a new <web-item>, containing:

      • an i18n column title to be inserted in the <th>
      • a style class to be applied to the <th> and <td>
      • a weight to position the column amongst other add-on links. For us, it would be sufficient to insert the plugin-supplied links all at the right hand side, immediately before any attachment actions...but if you wanted to go all-out and make all of the system attachment columns into their own web-items and permit a completely arbitrary rendering order, that would also work.
      • a Velocity context containing just a reference to the attachment itself (and/or attachment version)

      With the current implementation of the attachments macro and Tools->Attachments page, we would presumably need three different web-item sections:

      1- the Tools->Attachments page,
      2- the top-level Attachments Macro list (which contains just the file name and modified date), and
      3- the Attachments Macro version list (containing the version name, creator and date)

      Attachments

        Issue Links

          Activity

            People

              smansour Sherif Mansour
              7c60ab039b09 Scott Dudley [Inactive]
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: