A Placeholder Control for Multiple Attachments
We have seen SingleImagePlaceholderControl
and SingleAttachmentPlaceholderControl
at work. They are nifty controls for managing single files. Authors are able to upload files directly from their local computers or pick from shared resources in the resource gallery.
However, the biggest drawback of these controls is that files must be handled one at a time. More often than not, authors will need to attach multiple images or attachments. They could have a list of documents that support an article or a series of images that accompany a story. Whatever the case may be, a single slot for attachments may not always be sufficient.
You can get around this single-file limitation in one of three ways:
Provide authors with an
HtmlPlaceholderControl
.Increase the number of
SingleAttachmentPlaceholders
andSingleImagePlaceholderControls
on the page. Provide as many as the author requires.Build a custom placeholder control that allows the upload of multiple files...