XPages Example: Building a Custom Control - How to build a Custom Multi-FileUpload Control that you can drop on any XPage, and it stores all attachments in an external repository db.06/29/2008 05:17 AM1. Sascha Jostock06/29/2008 01:01:41 AM
Works, Great!!
2. Sebastian01/09/2009 12:29:06 PM
Hey great tutorial,
i tried with Notes 8.5 final and got 2 Problems - notes doesnt get the Custom Controls "out of the box" of your database. I had to copy the contents into new Controls and add them to Projects Xpage.
Second but more anoying - with hidden DocUNID all uploads are shown, the field isnt computed. So i had to unhide the field and everything was fine. Is there a hidden checkbox like "compute html for all fields" in forms i just can't find?
3. John Mackey01/10/2009 08:56:03 AM
@Sebastian, I updated the sample to fix the problem with the docUNID field so it works with 8.5 Gold. I believe the custom controls issue is a beta 2 issue and you won't have that issue if you download the new example.
Thanks for bringing it to my attention!
John
4. Vayasin02/18/2009 06:06:07 AM
Hi John,
I like your tutorials. they have helped me alot.
Do you know how to use the fileupload without using a notes document to store it. For my project i need to feed a txt file directly into a Java function.
5. Apollo Entice03/13/2009 11:13:50 AM
John,
Let make take the chance to thank you for all your effort building sample apps that I religiously used as my learning tool. Congrats also to AD207, it was a great presentation and xpage app sample.
My question is with File Download control with this sample. Why all my uploaded MS Office (*.doc, *.xls, etc.)won't open when I click the attachments in IE but work's fine with Firefox. PDF's all open fine, *.doc and *.xls will show as garbage.
Any solution to fix this issue.
Thanks,
Apollo
6. Dale04/16/2009 08:28:45 AM
@5 Apollo we are experiencing the same issue, did you find a solution?
7. Richard Cotrim04/23/2009 01:42:59 PM
@5 @6, I'm facing the same problem. Does any one know the fix ? I've notice that the problem is ony with the file download control on IE.
8. John Mackey04/24/2009 09:57:34 AM
Homepage: http://www.jmackey.net
@5,6,7
There's a discussion thread in the 8.5 forum on this issue. Irina Kojevnikova posted a work around.
{ Link }
Hope this helps....
9. John Mackey04/30/2009 08:12:57 AM
Homepage: http://www.jmackey.net
@All, I posted a workaround for the filedownload issue. I also updated the sample download with the fix.
You can read about the fix here: { Link }
Note: You can access all downloads here