00120: Easy-to-use feature for updating uploaded files

Summary: Easy-to-use feature for updating uploaded files
Created: 2004-10-28 05:43
Status: Closed
Category: Feature
From: Henning
Assigned:
Priority: 3
Version: 1.0.11
OS: Linux/Apache 2

Description:

Problem

My naive authors' intranet philosophy is "publish all information as MS Office documents". (Sigh.)

That means that their maintenance work comes down to replacing uploaded documents. The Attach: markup doesn't work for replacements, so they have to rely on ?action=upload (for which I provided a link next to "Edit Page").

On the upload page, they have to make sure for each upload that the "Name attachment as:" field is filled out with exactly the same file name as used orginally. This means a lot of clicks/typing and is quite error-prone.

Solution

Create a new action like ?action=update_uploads that provides a similar output as the normal ?action=read, but with the Attach: links expanded as follows:

  • UploadedFile

becomes

  • UploadedFile (Update file UploadedFile)

Clicking Update file UploadedFile will then bring up the upload form with the file name of UploadedFile already entered in the "Name attachment as:" field.

(UploadedFile in the page view might be the alternative Text from the Attach:FileName.Txt UploadedFile markup for consistency reasons.)

I'd also suggest that the upload form is opened in a new window so that multiple files can be updated quickly, if that's compatible with the general interface philosophy.

Not urgent, but very nice to have

That's no urgent feature request, just an idea for one that would be very nice to have :-) --Henning October 28, 2004, at 05:44 AM


See also 00226 --Henning December 15, 2004, at 06:02 AM


For v2 one can use Cookbook:UpdateAttachments. Does this help, or do you really need this capability for v1? --Pm


Cookbook:UpdateAttachments is fine, I plan to migrate to v2 anyway! --Henning January 03, 2005, at 04:57 AM