cogAdministration tool allowing to export the list of all the attachments of a wiki as a CSV file.
Developed by

Anca Luca

0 Votes
LicenseGNU Lesser General Public License 2.1

Tested on the standard distribution of XWiki, versions 5.4.5 and 6.4.5.

Installable with the Extension Manager


This extension is a small script allowing to export the list of all the attachments of the wiki in a CSV file.
It will install 2 pages in the Admin space, the entry point for the tool being the page ExportAttachmentsAsCSV (note that this page is hidden so you should activate hidden documents or manually type the URL for this page).
It will list attachments from all the pages, including hidden pages.

No rights verification is done on these pages, it's installer's responsibility to protect any unauthorized users from viewing them (space rights or page rights after installation). Also, please note that the export can be costly from a performance point of view, so it should also be protected against accidental execution (by robots, for example).

Prerequisites & Installation Instructions

We recommend using the Extension Manager to install this extension (Make sure that the text "Installable with the Extension Manager" is displayed at the top right location on this page to know if this extension can be installed with the Extension Manager). Note that installing Extensions when being offline is currently not supported and you'd need to use some complex manual method.

You can also use the following manual method, which is useful if this extension cannot be installed with the Extension Manager or if you're using an old version of XWiki that doesn't have the Extension Manager:

  1. Log in the wiki with a user having Administration rights
  2. Go to the Administration page and select the Import category
  3. Follow the on-screen instructions to upload the downloaded XAR
  4. Click on the uploaded XAR and follow the instructions
  5. You'll also need to install all dependent Extensions that are not already installed in your wiki
Created by Anca Luca on 2015/11/03 20:18

Get Connected