This is a custom control that stores file attachments in a central repository.
This XPages custom control is a multi-file upload control that uses a central attachment repository db for all the attachments. The application has very little code and utilizes the Repeat control and Panel control to generate an unlimited amount of uploads per XPage. A developer can drag and drop this custom control on an XPage then configure the control with the repository database name…and they now can offer the users an unlimited amount of file attachments per document.
The end user clicks "Add New Upload" and a new document is created in the repository database. The XPage is then refreshed and the user is presented with a description field and an upload control to populate.
An article on the techniques used in building the control can be found here: http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/d6plinks/GROC-7G3GF7
This control takes 6 parameters that allow the developer to specify the location and name of the repository database as well as control the various features of the file download control.
The control is located in the sample application database "XPagesMultiAttachCC.nsf" and is named "MultiAttachments". The repository sample is named "FileUploadDB.nsf" and can be placed in any directory on the server as long as the parameter "fileUploadDbName" includes the directory.
Descriptions of the available parameters
by Dwain A Wuerfel 10 years ago
Discussion | Limit # of attachments
by Shruti Kulkarni 1 decade ago
Discussion | Issue with filedownload control
by John Mackey 1 decade ago
Hosted by Prominic.NET | Designed and developed by Oval