logo

Drag and Drop Additon of Multiple Attachments

An upcoming task of mine is to investigate the various File Upload widgets available for use in the web browser. You know the type I mean? Like the one they added to iNotes but was impossible for us to use.

My aim is to find the best-fit solution that allows drag and drop of multiple files to a Notes document via the browser. Does anybody have any experience of using them with Domino? Good or bad. ActiveX or not. Which is the best?

As ever, whatever I find will be relayed back here. Hopefully, this will be a worthy exercise for us all. It's not just me invoking the lazyweb!

Comments

    • avatar
    • YoGi
    • Wed 27 Jun 2007 07:02 AM

    I've achieved this with the jUpload Java applet {Link} and a custom servlet (using Apache's Common Fileupload package) running on the Domino servlet manager. If you are interested, I can provide you the source code of the servlet.

    I believe the SWFUpload component {Link} is way much user friendly than that ugly Java applet, but Flash 8 is required and in my customer environment, only Flash 7 was supported.

    Anyway, uploading multiple files is not so difficult, but the main question is : how to edit documents in an "inline way", just as you do with the DWA ActiveX component ? Not jUpload nor SWFUpload seems to be able to handle this. Having to download, edit on your desktop then delete and upload the file again is a real burden for end users.

    Just my 2 cents.

    • avatar
    • YoGi
    • Wed 27 Jun 2007 07:14 AM

    You might want to check this too :

    {Link}

  1. YoGi beat me to it. I have heard some good reviews of the MooTools solution.

    • avatar
    • Jake Howlett
    • Wed 27 Jun 2007 09:20 AM

    The MooTools one looks great, but it only seems to be an uploader. What about editing/downloading attached files as well? It needs to be more about file management than merely uploading.

    • avatar
    • Manu
    • Wed 27 Jun 2007 10:09 AM

    Just in reply to what you said about the Inotes/quickplace upload: I remember that a couple of months ago the upload could be downloaded from the LDD sandbox. I did download it then, but didn't have the time/necessity to test it in the mean time. I checked again, and can't find it anymore (don't know why it was taken off). At the time the datebase was called inse_upl.nsf. I could send it to you if you want.

    • avatar
    • Jake Howlett
    • Wed 27 Jun 2007 10:25 AM

    Yeah, Manu, send it over if you've got a copy.

  2. Manu, you're probably talking about this uploader {Link} available at OpenNTF.org.

  3. DLI has a file upload/download component with which they have won a beacon award a few years back. I have never tried it. I also seem to remember that this is IE only (could have changed by now). Oh, and it's not free. Hope this helps anyway.

    {Link}

  4. Roman (and Manu):

    Thanks for that link!!!

  5. A big thing I don't understand is why neither MS nor any of the other Browser vendors seem to have fixed the file upload control. It would seem simple to allow users to select multiple files. Sure, there is the issue of how to render those several files, but as long as there were a standard for what was required of the control and how the server would handle it, the way it's implemented shouldn't matter.

    One vendor might keep the current format and simple allow multiple files to be selected and present them in a list (ever open multiple files in a windows app? that's exactly what I'm describing). Heck, it could even accept drag-and-drop.

    Another vendor might render a box that you could drag-and-drop into.

    It just seems like after all this time we'd have some kind of native support (meaning no activeX, Java, or flash etc).

  6. Gerald Mengisen:

    I have used the DLI component in several projects and it works excellent both for online editing and down/uploads. Unfortunately only in IE

    • avatar
    • Adam
    • Wed 27 Jun 2007 12:44 PM

    YoGi

    Could you send me an example db of jupload...?

    email me:

    adam at the internet domain of mail dot com

    or post a link to it...

    Thanks!

    • avatar
    • Vince
    • Wed 27 Jun 2007 12:59 PM

    My vote is for the DLI Uploader pointed out by Gerald. I've used it many times with great results.

    It's inexpensive, installs gracefully, and gives you a full set of features.

    It's limited to IE. If you can live with that then their uploader is likely to satisfy all your requirements.

  7. I have also used DLI uploader. It satisfies all the requirements you mentioned. It also has a set of usefull javascript APIs where you can customize many of its behaviour. Only problem is its an IE only solution..

    • avatar
    • Alan Hurt
    • Wed 27 Jun 2007 03:39 PM

    I've played a little with the File Uploaded found over at OpenNTF. Had a little issue getting it working but the author posted the solution in the discussion area and it worked just fine after that. It is basically the same thing you get in iNotes as it uses the iNotes.cab file

  8. I don't think this answers your question exactly but its worth a looksee {Link}

    select 'extended filemanager' or 'imagemanager' and click reload.

    I'd love to use the file manager with Domino but I believe it relies on a PHP module - presumably it could be re-engineered to work with Domino but I haven't tried. Most of the XINHA editor modules are JS and work very well with Domino web apps. {Link}

    • avatar
    • Jake Howlett
    • Thu 28 Jun 2007 01:18 PM

    A big thanks to you all. I'll let you know the outcome of my investigations.

    • avatar
    • Garth Thomas
    • Fri 29 Jun 2007 12:51 AM

    Sorry this is late... but I totally agree with YoGi. The Apache Commons package will make it too easy as all the heavy lifting is already done for you. Your post recently shows that you're more than familiar with representing files as links on a page so now all you have to do is allow your users to drag and drop the files to a text area (with an alternative 'browse' button for grabbing other files from their hard drive) and then using the commons package to do the uploading.

    • avatar
    • Matt
    • Fri 29 Jun 2007 10:33 AM

    The DLI solution is the best I have found too.

    Another approach maybe WebDav.

    • avatar
    • Ant
    • Sat 30 Jun 2007 10:56 AM

    I have seen some top tools from dli-tools called DLI uploader.

    {Link}

  9. I used DLI.Tools Enterprise wide at Oxy Inc. This is a great tool. They have many other web tools that are worth a close look too. Great people to work with, excellent service.

  10. Hi Jake,

    I have a servlet ready that allows webDAV access to existing Domino attachments. While it doesn't help with the upload problem it is very suitable for roundtrip editing (work on existing attachments and save them back). It has quite some rough edges but I share the current tarball with you. drop me an email

    :-) stw

  11. For using the 'IE Only' controls in Firefox, try using a plug-in like IE Tab (https://addons.mozilla.org/en-US/firefox/addon/1419). Not the ideal solution, but might get you over the ‘IE only’ hurdle … Just a thought

  12. Well - back in 1999 I developed an ocx that handes the front end and a servlet that handles the updating on the domino server side. It did drag and drop, multiple files and also edit - save roundtripping to the client.

    I thought it was really cool.

    The front end is developed with visual basic.

    It would be nice to contribute the source if anyone would like to master chef such an open source project somewhere.

    • avatar
    • Giles Hinton
    • Mon 16 Jul 2007 07:57 AM

    Again I will second the DLI Uploader product - I used it at my last company and found it to be a very robust efficient tool.

    Documentation was excellent too.

  13. Is there any java applet/application available that supports everything which is supported by DLI Uploader.

  14. From my perspective, I'd love the least common denominator - I guess everyone would really.

    That means no to DLI Uploader - it looks ace, but it's so much money - I'm sorry, I have some clients that cannot afford such things. I have many clients and on a per host/domain basis, I'd end up funding their holidays for the next two years if I bought for all the requirements I have!

    That also means no to Java as an option - I can't rely on it being enabled on some of my client's intranets nor can I rely on it being on most of my user's computers on some of the internet/large consumer websites.

    So that means OCX/ActiveX or a Flash-based solution or better still, something JS_based with the server doing the work.

    I have people who can maybe cross-code the the work from Peter, if that's something of interest and could port it to .NET or some such?

    MooTools looks ACE but no idea how to integrate this but would gladly put in the hours if someone can point me in the right direction.

    The File Uploader on OpenNTF is nearly what I need but it doesn't work with Website documents!

    Marky_UK

    • avatar
    • David
    • Wed 12 May 2010 05:12 PM

    Hello CodeStore users,

    Any news, since 2007, or will we all have to buy the DLI component ???

    We are now in Domino 8.5+ and it seems that this damn web "edit in place" component is still missing to the Lotus framework.

    If someone have a good solution to deal with *missing feature*, I would be really interested in it (and I guess I'm not alone).

    Thanks for your great website, CodeStore.

    Best regards,

    David

    • avatar
    • dl
    • Thu 28 Feb 2013 08:42 AM

    There's a file uploader on the openNTF site. It used to be called inse, but it's now GNU licenced.

    http://www.openntf.org/projects/pmt.nsf/ProjectLookup/File%20uploader

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment:


About This Page

Written by Jake Howlett on Wed 27 Jun 2007

Share This Page

# ( ) '

Comments

The most recent comments added:

Skip to the comments or add your own.

You can subscribe to an individual RSS feed of comments on this entry.

Let's Get Social


About This Website

CodeStore is all about web development. Concentrating on Lotus Domino, ASP.NET, Flex, SharePoint and all things internet.

Your host is Jake Howlett who runs his own web development company called Rockall Design and is always on the lookout for new and interesting work to do.

You can find me on Twitter and on Linked In.

Read more about this site »

More Content