Hi, my documentType have a property set as "uploadAttachments" which refers to DAMP multipicker. I've been able to attach three pdf files and now I would list into the page:
if (@Model.HasValue("umbracoFile")) { <br /> <h3>Allegati</h3> <div class="allegati"> <ul> @foreach (var attachment in @Model.umbracoFile) { dynamic media = Model.MediaById(attachment); } </ul> </div> <br class="clear" /> }
the code above seems ok as I can print out three rows but I cannot get the properties of each files (es: umbracoBytes). Any hints? I'm using Umbraco 6.2.1 and DAMP 2.8
Looping thru file uploaded with DAMP
Hi, my documentType have a property set as "uploadAttachments" which refers to DAMP multipicker. I've been able to attach three pdf files and now I would list into the page:
the code above seems ok as I can print out three rows but I cannot get the properties of each files (es: umbracoBytes). Any hints? I'm using Umbraco 6.2.1 and DAMP 2.8
is working on a reply...