| Parameter | Description | Type |
| fileUploadDbName | The db name that will store the attachments. Include the full path from the Notes data directory. | string |
| hideIfNoAttachments | Controls the visibility of the download control if there are no attachments | boolean |
| showCreatedDate | Controls the visibility of the column for Creation date | boolean |
| showModifiedDate | Controls the visibility of the column for Modified date | boolean |
| showSize | Controls the visibility of the column for Attachment size | boolean |
| showType | Controls the visibility of the column for Attachment tyope | boolean |
1. Steve Smillie05/07/2009 07:18:14 AM
This looks great. I will be giving it a try.
Will this control work in a Tabbed Panel Control?
I was trying to use the built in upload control and in my testing it would not upload the attachment if you switched to another tab before saving. It was fine if you saved while that Tab was open.
2. Steve Smillie05/07/2009 09:22:51 AM
Just saw the Lotus 8.5 forums the talk about Tabbed Panel issues. Probably my problem with the standard controls.
Still like the idea of this one better.
Another thought:
Are the attachments secured in the Repository DB. I would hate for someone to find a way to browse that db and get access to attachments they wouldn't have access to if the db/documents they are from had security.
3. John Mackey05/07/2009 09:47:57 AM
Homepage: http://www.jmackey.net
@Steve, yes I do believe the issue you are experiencing is due to the bug in the tabbed panels. I do not have a workaround for that.
As far as security, it would be easy to add Readers fields to the repository form. Currently XPages JS runs as the current user, so we are inserting the attachments with the current users' rights and the user has to have access to the repository db. So the first line of security would be the ACL and group access, 2nd could be Readers fields.
4. Rish05/14/2009 08:51:12 PM
Hi John, I am new to x-pages. Do I need Domino 8.5 server to run my x-page application ?
Rish
5. Tony Elliott10/13/2009 12:32:56 PM
Hi John,
I just upgraded my dev server to 8.5.1 and this control stopped working. Clicking on the "Add New Upload" button, creates a new copy of the existing document and never shows an upload control in the repeat control. Have you experienced this yet?
6. Antonio05/31/2010 12:14:53 PM
Hi John:
I have a question about if is possible to control the files's size when it is upload, I did an example an upload a file with empty size ( 0 kb ) and when I submit the document permit me to do this, but when I open again the document in read mode is not attached because is deleted automaticcally ( same case for the documents greater than 1024 kb ), I would like to control this when the files is being upload. Do you have any axample about it ( if is possible to do it ) ? I really aprreciate your help.
Thanks in advance.